3.1.0 • Published 2 months ago

eslint-config-cntral v3.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
2 months ago

CNTRAL's ESLint Configuration

ESLint configuration as preferred by the CNTRAL Family.

We're an opinionated bunch at CNTRAL, or at least some of us are. This collection of ESLint settings and rules are our currently preferred setup when linting for Javascript, particularly with React.

This is a living document so feel free to pull from main to get the latest improvements as we update things based on our latest opinions. Otherwise, lock it in to a specific version and upgrade as you see fit.

Usage

package.json

"devDependencies": {
  "eslint-config-cntral": "joshuapinter/eslint-config-cntral"
}

.eslintrc.json

{
  "extends": "cntral"
}

Then simply npm install and now your ESLint configuration is the same as CNTRAL's.

You can overwrite any configuration as you see fit by just adding additional rules to your .eslintrc.json file, such as:

{
  "extends": "cntral",
  
  "rules": {
    "no-unused-vars": [ "error", { "argsIgnorePattern": "^_" } ]
  }
}
3.1.0

2 months ago

3.0.0

3 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago