1.0.0 • Published 6 years ago
@quiz-us/eslint-config v1.0.0
Shareable Eslint Config for Quiz Us Projects
Usage
- run
npm install --save-dev @quiz-us/eslint-config
- The
@quiz-us/eslint-config
package has 4peerDependencies
:eslint
eslint-plugin-import
eslint-plugin-jsx-a11y
eslint-plugin-react
- You must install the 4
peerDependencies
above asdevDependencies
in your project in order for all linting to work properly. - in the project's
.eslintrc
, add the following:"extends": ["@quiz-us/eslint-config"]
Workflow
- Update
.eslintrc.js
to edit linting rules. - Create a test
js
file to try out the new rules to confirm that the new rule works as intended/expected. - When satisfied with the rule changes, run
npm version ${new version number}
and thennpm publish
.
1.0.0
6 years ago