eslint-config 1.6.2
Install from the command line:
Learn more about npm packages
$ npm install @codeoscopic/eslint-config@1.6.2
Install via package.json:
"@codeoscopic/eslint-config": "1.6.2"
About this version
This package includes our eslint custom config for TypeScript and React projects.
- Install the package:
npm install -D eslint @codeoscopic/eslint-config
- Create a
.eslintrc.js
file in your project root with:
module.exports = {
extends: ["@codeoscopic/eslint-config"],
parserOptions: {
tsconfigRootDir: __dirname,
},
};