Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including eslint-config-nova-react with all npm packages installed. Try it out:

require("eslint-import-resolver-typescript/package.json"); // eslint-import-resolver-typescript is a peer dependency. require("eslint-plugin-react/package.json"); // eslint-plugin-react is a peer dependency. require("eslint-config-prettier/package.json"); // eslint-config-prettier is a peer dependency. require("eslint-plugin-import/package.json"); // eslint-plugin-import is a peer dependency. require("eslint-plugin-react-hooks/package.json"); // eslint-plugin-react-hooks is a peer dependency. require("typescript/package.json"); // typescript is a peer dependency. require("eslint-plugin-prettier/package.json"); // eslint-plugin-prettier is a peer dependency. require("eslint/package.json"); // eslint is a peer dependency. require("eslint-plugin-jsx-a11y/package.json"); // eslint-plugin-jsx-a11y is a peer dependency. require("@typescript-eslint/parser/package.json"); // @typescript-eslint/parser is a peer dependency. require("@typescript-eslint/eslint-plugin/package.json"); // @typescript-eslint/eslint-plugin is a peer dependency. require("eslint-plugin-jest/package.json"); // eslint-plugin-jest is a peer dependency. require("eslint-config-nova/package.json"); // eslint-config-nova is a peer dependency. var eslintConfigNovaReact = require("eslint-config-nova-react")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-config-nova-react v1.0.6

Strict ESlint config for TypeScript and React projects using Prettier, JS modules and concerned about accessibility.

eslint-config-nova-react

This package provides a strict ESlint config TypeScript and React projects using Prettier, JS modules and concerned about accessibility.

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
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks

Usage

  1. Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-nova-react@latest" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev eslint-config-nova-react

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-react" 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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free