eslint-config-building-app
This package includes the shareable ESLint configuration used by 7r building team.
First, install this package, ESLint and the necessary plugins.
npm install --save-dev @7r/eslint-config-7r-building babel-eslint@9.x eslint@5.x eslint-config-prettier@3.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-prettier@3.x eslint-plugin-react@7.x prettier@1.x
Then create a file named .eslintrc
with following contents in the root folder of your project:
{
"extends": "@7r/eslint-config-7r-building"
}
That's it! You can override the settings from eslint-config-7r-building
by editing the .eslintrc
file. Learn more about configuring ESLint on the ESLint website.