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