@nitra/eslint-config
v3.0.11
Published
A Eslint shareable config for projects using 'Vue' and 'Node'
Readme
eslint-config
Installation
bun add @nitra/eslint-config -DThis is only a shareable configuration. It does not install Prettier, Standard, ESLint, or any other part of the tool chain.
Usage
Reference it in package.json using the eslintConfig property.
Root:
"eslintConfig": {
"extends": [
"@nitra"
],
"root": true
}Node:
"engines": {
"node": ">=18.0.0"
},
"eslintConfig": {
"extends": [
"@nitra/eslint-config/node"
]
}Vue:
"eslintConfig": {
"extends": [
"@nitra/eslint-config/vue"
],
"globals": {
"localStorage": "readonly"
}
}