@unifiedsports/eslint-config
v0.0.2
Published
Common ESLint configuration for UnifiedSports packages.
Downloads
2
Readme
@unifiedsports/eslint-config
Common ESLint configuration for UnifiedSports packages.
Usage
- Installation
npx install-peerdeps @unifiedsports/eslint-config --dev
With Yarn:
npx install-peerdeps @unifiedsports/eslint-config --dev --yarn
- Configuration
Add `"extends: @unifiedsports" to your .eslintrc:
{ "extends": ["@unifiedsports"] }
Inclusions
- eslint-plugin-disable:
Allow disabling rules out of the box. Intended to be used sparingly and for any
intended calls to
console.
. - eslint-plugin-import: Support linting of ES2015+ (ES6+) import/export syntax, etc. out of the box.
- eslint-plugin-jsdoc: Encourage jsdoc comments.