@cstar-industries/eslint-config
v1.2.2
Published
The common ESLint configuration for Cstar Industries projects
Downloads
2
Readme
Usage
Install with npm
(or yarn
, if that's your thing).
npm install @cstar-industries/eslint-config
You will need to install the peer dependencies inside your project:
npm install [email protected] eslint-plugin-prettier@...
:warning: Make sure you use compatible versions from the peerDependencies definitions!
Then configure ESLint to use the configuration rules. In your .eslintrc.js
:
module.exports = {
extends: ['@cstar-industries']
};
If you are using Webpack, you will need to add the following setting:
module.exports = {
...
settings: {
'import/resolver': 'webpack',
}
};
Contributing
Feel free to contribute suggestions to this repository.
If you are a member of the core @cstar-industries team, create a new branch, commit your changes and submit a pull request.
If you are outside the team, fork the public repo, commit your changes and submit a pull request.
License
Do What the Fuck You Want to Public License, version 2 (license)