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