3.1.0 • Published 8 years ago

eslint-settings v3.1.0

Weekly downloads
19
License
ISC
Repository
github
Last release
8 years ago

eslint-settings

These are custom ESLint settings for Angular and Node.js. The settings are quite strict.

Usage

npm install -D eslint-settings

Now, create a file called .eslintrc in the root of your project with the following contents:

{
  "env": {
    "node": true // example, for node
  },
  "extends": "./node_modules/eslint-settings/main.eslintrc" // this line is important
}

Various ESLint Configs

  • main.eslintrc: The primary config file.
  • test.eslintrc: A config file for test files. It disables some rules that are enabled in main.eslintrc that are not appropriate for test files.

Customization

You can add your own rules, turn off rules, or change things around in other ways. Modify the .eslintrc file you created the same way you would if you weren't using this package! Just make sure not to delete the "extends": "./node_modules/eslint-settings/main.eslintrc".

3.1.0

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago