0.0.1-alpha.1 • Published 4 years ago
@novo-electronique/eslint-config v0.0.1-alpha.1
Installation
Install the package with
npm install @novo-electronique/eslint-config --save-dev
Usage (Backend, Node, etc...)
Now add the config to either your package.json
:
{
"eslintConfig": {
"extends": "@novo-electronique/eslint-config"
}
}
to your .eslintrc
:
{
"extends": "@novo-electronique/eslint-config"
}
or .eslintrc.js
:
module.exports = {
extends: '@novo-electronique/eslint-config',
}
Usage (React front-end)
Now add the config to either your package.json
:
{
"eslintConfig": {
"extends": "@novo-electronique/eslint-config/react"
}
}
to your .eslintrc
:
{
"extends": "@novo-electronique/eslint-config/react"
}
or .eslintrc.js
:
module.exports = {
extends: '@novo-electronique/eslint-config/react',
}
Prettier Config
This is how you use or extend the @novo-electronique/eslint-config
prettier config in your
app:
// prettierrc.js
module.exports = require('@novo-electronique/eslint-config-novo/prettier')
0.0.1-alpha.6
4 years ago
0.0.1-alpha.7
4 years ago
0.0.1-alpha.4
4 years ago
0.0.1-alpha.5
4 years ago
0.0.1-alpha.3
4 years ago
0.0.1-alpha.2
4 years ago
0.0.1-alpha.1
4 years ago