@matchday/eslint-config-matchday
v1.1.2
Published
@matchday/eslint-config-matchday
Downloads
1
Maintainers
Readme
Matchday ESLint Configuration
This configuration is a comprehensive style guide for all JavaScript projects, designed for both client and server applications. We include rules for libraries such as React, Flow, and Jest, with a heavy emphasis on the latest ECMAScript standard. We've made the configurations modular to include only the rulesets you need.
Included
This package includes the following configurations:
@matchday/eslint-config-matchday/lib
- The primary style guide for JavaScript code.@matchday/eslint-config-matchday/lib/flowtype
- Flow addition to the style guide.@matchday/eslint-config-matchday/lib/jest
- Jest addition to the style guide.@matchday/eslint-config-matchday/lib/jsx
- JSX addition to the style guide.@matchday/eslint-config-matchday/lib/modules
- ES6 modules addition to the style guide.@matchday/eslint-config-matchday/lib/react
- React addition to the style guide.
Usage
Add the following to your .eslintrc file, including the configurations you need:
{
"extends": [
"@matchday/eslint-config-matchday/lib",
"@matchday/eslint-config-matchday/lib/flowtype",
"@matchday/eslint-config-matchday/lib/import",
"@matchday/eslint-config-matchday/lib/jest",
"@matchday/eslint-config-matchday/lib/jsx",
"@matchday/eslint-config-matchday/lib/react"
]
}