1.0.0 • Published 5 years ago

@itplusx/eslint-config v1.0.0

Weekly downloads
58
License
MIT
Repository
gitlab
Last release
5 years ago

@itplusx/eslint-config

ESLint configs of ITplusX.

This package just defines additional rules and does not extend the rules defined in the original .eslintrc.js that are generated by vue create ... or yarn create nuxt-app .... But this mighht be changed in the future.

Usage

  1. Add this package to your devDependencies:
npm i -D @itplusx/eslint-config
# or
yarn add -D @itplusx/eslint-config
  1. Install eslint if not already present
npm i -D eslint
# or
yarn add -D eslint
  1. Create a .eslintrc.js file

  2. Extend our config with appropriate presets

module.exports = {
  extends: [
    // ... other rules might be above
    '@itplusx/eslint-config/vuejs'
    // ... other rules might be below
  ]
}
1.0.0

5 years ago