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:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
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:
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.
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.
"extends": "nova-react"to your .eslintrc.
Most of the rules are activated and will trigger errors. Here is a list of all the rules that are ignored in this config: