eslint-config-nova
v1.0.5
Published
Strict ESlint config for TypeScript projects using Prettier and JS modules.
Downloads
9
Maintainers
Readme
eslint-config-nova
This package provides a strict ESlint config for TypeScript projects using Prettier and JS modules.
It has several peer dependencies needed for each kind of rules it contains:
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint
- eslint-config-prettier
- eslint-import-resolver-typescript
- eslint-plugin-import
- eslint-plugin-jest
- eslint-plugin-prettier
- typescript
Usage
- Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-nova@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev eslint-config-nova
If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly.
Otherwise, run npm info "eslint-config-airbnb-base@latest" peerDependencies
to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version>
for each listed peer dependency.
- Add
"extends": "nova"
to your .eslintrc.
Ignored Rules
Most of the rules are activated and will trigger errors. Here is a list of all the rules that are ignored in this config:
TBD