4.0.2 • Published 12 months ago

@devoxa/eslint-config v4.0.2

Weekly downloads
56
License
MIT
Repository
github
Last release
12 months ago

Installation

yarn add --dev eslint @devoxa/eslint-config

The configuration also has a peer dependency on typescript@^3.9.2.

Usage

To enable the rules, add a eslint.config.js file to your project. See the ESLint configuration docs for more details.

const config = require('@devoxa/eslint-config')

module.exports = config({
  // (Recommended) Files (in gitignore syntax) that will be transformed into ignore configs
  ignoreFiles: ['.gitignore'],

  // (Optional) Additional configs that will be spread into the main config
  // See https://typescript-eslint.io/packages/typescript-eslint#config
  configs: [
    /* ... */
  ],
})

Since the ESLint configuration is for TypeScript projects it is also required that you have a tsconfig.json file configured.

It is also recommended to add the following script to your package.json for easy usage.

"lint": "eslint '{src,tests}/**/*.{ts,tsx}'"

Additionally, it is recommended to install the VS Code Extension to get in-editor warnings.

Extending

This configuration is not intended to be changed, but if you have a setup where modification is required, it is possible. To extend a configuration you can use the configs option as described above.

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

4.0.0-0

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

4.0.2

12 months ago

3.0.11

2 years ago

3.0.10

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.9

3 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

0.2.0

5 years ago

1.0.0

6 years ago