eslint-config 1.7.0
Install from the command line:
Learn more about npm packages
$ npm install @codeoscopic/eslint-config@1.7.0
Install via package.json:
"@codeoscopic/eslint-config": "1.7.0"
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,
},
};