eslint-config-wyze
My personal ESLint settings.
Installation
Use yarn add --dev <packages>
where <packages>
are as follows:
Note: You can also do npm i --save-dev <packages>
.
React/Preact
eslint eslint-config-airbnb eslint-config-wyze eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-wyze
Non-React
eslint eslint-config-airbnb eslint-config-wyze eslint-plugin-import eslint-plugin-wyze
Flow
babel-eslint eslint eslint-config-wyze eslint-plugin-flowtype
Usage
package.json
{
"eslintConfig": {
"extends": "wyze"
}
"eslintConfig": {
"extends": "wyze/preact"
}
"eslintConfig": {
"extends": "wyze/base"
}
"eslintConfig": {
"extends": "wyze/flow"
}
"eslintConfig": {
"extends": [
"wyze",
"wyze/flow"
]
}
}
License
MIT © Neil Kistner