Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 786 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 786 Bytes

eslint-config-lifion

npm version Contributor Covenant

This package provides Lifion's base JS .eslintrc as an extensible shared config.

Usage

Install the module and its peer dependencies:

npm install eslint-config-lifion eslint@8 prettier@2 -D

Make sure ESLint uses this module by adding "extends" to your .eslintrc file:

{
  "extends": "lifion"
}

Configure Prettier by adding this to your .prettierrc file:

{
  "endOfLine": "auto",
  "printWidth": 100,
  "singleQuote": true,
  "trailingComma": "none"
}

License

Apache-2.0