0.1.2 • Published 3 years ago

@inrupt/eslint-config-react-ts v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

eslint-config-inrupt-react

Eslint and prettier configs

Installation

  1. npm install --save-dev @inrupt/eslint-config-react
  2. npx install-peerdeps @inrupt/eslint-config-react
  3. npx install-peerdeps @inrupt/eslint-config-base
  4. Add extends: ['@inrupt/eslint-config-react'] to your .eslintrc.js file.

Rules

Exhaustive documentation forthcoming. For now, the general principles are:

  • Load a stylistic base set - in this case, airbnb and airbnb/hooks
  • Load inrupt-base, which loads recommended configs for common libraries: eslint, jest, typescript, and prettier
  • Do very little else- as few custom rules or overrides as possible.
  • Some rules are updated to work with nextjs.
0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago