@quiz-us/eslint-config
v1.0.0
Published
eslint config for quiz-us projects
Readme
Shareable Eslint Config for Quiz Us Projects
Usage
- run
npm install --save-dev @quiz-us/eslint-config - The
@quiz-us/eslint-configpackage has 4peerDependencies:eslinteslint-plugin-importeslint-plugin-jsx-a11yeslint-plugin-react
- You must install the 4
peerDependenciesabove asdevDependenciesin 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.jsto edit linting rules. - Create a test
jsfile 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.
