eslint-plugin
/
1.0.2
eslint-plugin 1.0.2
Install from the command line:
Learn more about npm packages
$ npm install @bepower/eslint-plugin@1.0.2
Install via package.json:
"@bepower/eslint-plugin": "1.0.2"
About this version
Opinionated eslint configuration
Place a .npmrc
file in the root of the project:
//npm.pkg.github.com/:_authToken=***REMOVED***
@bepower:registry=https://npm.pkg.github.com
Then install the npm package:
$ npm install --save-dev @bepower/eslint-plugin
.eslintrc.json
or "eslintConfig"
property inside package.json
{
"extends": "@bepower/eslint-plugin",
"parserOptions": {
"project": "./tsconfig.json"
}
}
eslint --fix . --ext .js,.jsx,.ts,.tsx