eslint-config-nova
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

  1. 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.

  1. 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

Package Sidebar

Install

npm i eslint-config-nova

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

96.2 kB

Total Files

44

Last publish

Collaborators

  • drixsonic