eslint-config 1.1.2
Install from the command line:
Learn more about npm packages
$ npm install @alexandrainst/eslint-config@1.1.2
Install via package.json:
"@alexandrainst/eslint-config": "1.1.2"
About this version
This package contains an eslint
configuration applicable to most Typescript+React applications. The configuration is somewhat sctricter than the default out-of-the-box eslint configuration.
Can be installed using npm
npm install @alexandrainst/eslint-config --save-dev
Install requiered peer dependencies
npm install @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-jest-dom eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-testing-library --save-dev
Include the following in your .eslintrc.json
file:
"extends": "@alexandrainst"