An extension of eslint-config-standard, made for JavaScript.
npm install eslint-config-standardxshell
$ npm install eslint eslint-config-standardx --save-dev
or yarn
$ yarn add eslint eslint-config-standardx -dev
`
Usage
In your eslint config:
`javascript
// .eslintrc.js
module.exports = {
extends: 'standardx'
}
`
Example command line usage for ESLint v7:
`shell
$ npx eslint .
`
Motivation
Due to a known limitation in ESLint. Many ESLint shareable config require a large number of peer dependencies. This leads to many inconveniences for developers to use.
My idea is to ignore these problems 😅, and install these peer dependencies directly.
Because I think these problems no longer exist in modern npm.
So this module is just a dependencies wrapper, internal use of eslint-config-standard and its peer dependencies.
Related
- zce/eslint-config-standard-ts - An extension of eslint-config-standard without peer dependencies, made for TypeScript.
Contributing
1. Fork it on GitHub!
2. Clone the fork to your own machine.
3. Checkout your feature branch: git checkout -b my-awesome-feature
4. Commit your changes to your own branch: git commit -am 'Add some feature'
5. Push your work back up to your fork: git push -u origin my-awesome-feature`