eslint-config-standardx
v16.0.3
Published
An extension of eslint-config-standard, made for JavaScript.
Downloads
199
Maintainers
Readme
eslint-config-standardx
An extension of eslint-config-standard without peer dependencies, made for JavaScript.
Installation
$ npm install eslint eslint-config-standardx --save-dev
# or yarn
$ yarn add eslint eslint-config-standardx -dev
Usage
In your eslint config:
// .eslintrc.js
module.exports = {
extends: 'standardx'
}
Example command line usage for ESLint v7:
$ 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
- Fork it on GitHub!
- Clone the fork to your own machine.
- Checkout your feature branch:
git checkout -b my-awesome-feature
- Commit your changes to your own branch:
git commit -am 'Add some feature'
- Push your work back up to your fork:
git push -u origin my-awesome-feature
- Submit a Pull Request so that we can review your changes.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!