Implements ESLint configuration intended for React apps compiled with Babel. ES2017.
yarn add -D @gonimbly/eslint-config babel-eslint@^7.2.3 eslint@^4.1.1 eslint-plugin-flowtype@^2.34.1 eslint-plugin-import@^2.6.0 eslint-plugin-jsx-a11y@^5.1.1 eslint-plugin-prefer-object-spread@^1.2.1 eslint-plugin-prettier@^2.4.0 eslint-plugin-react@^7.1.0 prettier
Once @gonimbly/eslint-config
is installed, you can use it by specifying @gonimbly
in the extends
section of your ESLint configuration.
{
"extends": "@gonimbly",
"rules": {
// Additional, per-project rules...
}
}