@itplusx/eslint-config

1.0.0 • Public • Published

@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
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i @itplusx/eslint-config

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.83 kB

Total Files

4

Last publish

Collaborators

  • vjanoch