Skip to content

The common ESLint configuration for Cstar Industries projects

License

Notifications You must be signed in to change notification settings

cstar-industries/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

The common ESLint configuration for Cstar Industries projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published