eslint-config-react 1.0.0-alpha-2
Install from the command line:
Learn more about npm packages
$ npm install @NCIOCPL/eslint-config-react@1.0.0-alpha-2
Install via package.json:
"@NCIOCPL/eslint-config-react": "1.0.0-alpha-2"
About this version
Shared eslint config for react-based projects created for the National Cancer Institute(NCI).
In order to download the eslint-config-react package, you will have to set up the @nciocpl organizational scope in npm to see the package. Create a .npmrc file in the root of your project containing the following:
@nciocpl:registry=https://npm.pkg.github.com
This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:
$ npm install -D @nciocpl/eslint-config-react
This library has a required peerDependencies listing for eslint
Then add the extends to your .eslintrc.js:
module.exports = {
extends: '@nciocpl/esling-config-react',
rules: {
// your overrides
},
}
Details
- eslint-config-react
-
NCIOCPL
- over 2 years ago
- SEE LICENSE IN LICENSE.md
- 9 dependencies
Assets
- eslint-config-react-1.0.0-alpha-2.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0