Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.4 KB

eslint.md

File metadata and controls

17 lines (14 loc) · 1.4 KB

eslint Linting

ESLint automatically identifies coding errors and enforces a consistent coding style across a codebase. It offers extensibility through plugins and can be integrated into various development workflows.


  • Configuration:
    • .eslintrc.json - Main configuraiton file that controls eslint linting and formatting rules
  • package.json scripts:
    • npm run lint - Run eslint project binary with .eslintrc.json configuration
    • npm run lint_fix - Run the eslint project binary using the .eslintrc.json configuration to automatically fix errors where possible and report those it can't. Note: This will modify your files.
  • package.json --save-dev Development Dependencies: