Skip to content

An NPM package to globalize the eslint rules across an organization

Notifications You must be signed in to change notification settings

anshgoyalevil/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config

An NPM package to globalize the eslint rules across an organization

How to install?

In the project where you want to globalize the rules, install this npm package using the following command:

npm install @anshgoyalevil/eslint-config --save-dev

Then, create a new file named .eslintrc.js inside the root directory of your project.

Add the following boilerplate code to it:

module.exports = {
  extends: ['@anshgoyalevil/eslint-config'],
  rules: {
    // add any additional or overridden rules here
  }
}

This package extends the following plugins:

plugin:@typescript-eslint
plugin:sonarjs
plugin:security
plugin:react
plugin:jest
plugin:cypress

For typescript support, additional TypeScript Eslint Parser is included.

Feel free to contribute to this package.

About

An NPM package to globalize the eslint rules across an organization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published