0.4.1 • Published 6 years ago
eslint-config-gda v0.4.1
eslint-config-gda
This package includes the shareable ESLint configuration used by gda-scripts.
Extends:
- eslint-config-airbnb (includes react and flow)
- eslint-config-prettier
And adds few rules relaxations...
Usage
First, install ESLint and Prettier
Then install eslint-config-gda and it peers dependencies
npm install eslint-config-gda eslint-config-airbnb eslint-config-prettier eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react --save-devThen create a file named .eslintrc with following contents in the root folder of your project:
{
"extends": ["gda"]
}Then create a file name .prettierrc with following contents in the root folder of your project:
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5"
}