1.0.19 • Published 1 year ago

@hopara/eslint-config v1.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@hopara/eslint-config

This package provides Hopara's .eslintrc as an extensible shared config.

Usage

Our default export contains all of our ESLint rules. It requires:

  • eslint
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser
  • eslint-config-google"
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  1. Install the correct versions of each package, which are listed by the command:
npx install-peerdeps --dev git+ssh://git@bitbucket.org:kyrix/eslint-config
  1. Extends your .eslintrc with:
  • If your project does not use React: "extends": "@hopara/eslint-config"
  • If your project uses React: "extends": "@hopara/eslint-config/react"

Improving this config

Consider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?

You can run tests with npm test.

You can make sure this module lints with itself using npm run lint.

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.5

2 years ago