eslint-config
/
0.0.28
eslint-config 0.0.28
Install from the command line:
Learn more about npm packages
$ npm install @musma/eslint-config@0.0.28
Install via package.json:
"@musma/eslint-config": "0.0.28"
About this version
Musma's ESLint config with TypeScript support
Note: this config works for both JS and TS files.
Within .npmrc
file in your project:
@musma:registry=https://npm.pkg.github.com/
And then,
$ npm install @musma/eslint-config --save-dev
or
$ yarn add @musma/eslint-config --dev --update-checksums
Within your .eslintrc
file:
{
"extends": ["@musma"]
}
If you use react,
{
"env": {
"browser": true
},
"extends": ["@musma"],
"ecmaFeatures": {
"jsx": true
},
"settings": {
"react": {
"version": "detect"
}
}
}
Open source licensed as MIT.