1.0.0 • Published 6 years ago

@quiz-us/eslint-config v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Shareable Eslint Config for Quiz Us Projects

Usage

  1. run npm install --save-dev @quiz-us/eslint-config
  2. The @quiz-us/eslint-config package has 4 peerDependencies:
    • eslint
    • eslint-plugin-import
    • eslint-plugin-jsx-a11y
    • eslint-plugin-react
  3. You must install the 4 peerDependencies above as devDependencies in your project in order for all linting to work properly.
  4. in the project's .eslintrc, add the following: "extends": ["@quiz-us/eslint-config"]

Workflow

  1. Update .eslintrc.js to edit linting rules.
  2. Create a test js file to try out the new rules to confirm that the new rule works as intended/expected.
  3. When satisfied with the rule changes, run npm version ${new version number} and then npm publish.