1.2.2 • Published 3 years ago

@cstar-industries/eslint-config v1.2.2

Weekly downloads
2
License
WTFPL
Repository
github
Last release
3 years ago

npm version

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 eslint@6.x 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)