@cstar-industries/eslint-config

1.2.2 • Public • Published

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@...

⚠️ 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)

Readme

Keywords

none

Package Sidebar

Install

npm i @cstar-industries/eslint-config

Weekly Downloads

0

Version

1.2.2

License

WTFPL

Unpacked Size

3.99 kB

Total Files

6

Last publish

Collaborators

  • loderunnr
  • thecstar