ESLint Config for QCObjects
npm install eslint-config-qcobjectsESLint Config for QCObjects
``shell`
npm i -D eslint-config-qcobjects
NOTE: Make sure you have installed QCObjects and ESLint before you use this
To install them
`shell`
npm i --save-dev qcobjects eslint
## Settings
Create a .eslintrc.json file with this content
`json`
{
"extends": [
"qcobjects"
]
}
Create a .eslintrc.json file with this content
`json`
{
"extends": [
"qcobjects"
],
"ecmaFeatures": {
"modules": true,
"spread" : true,
"restParams" : true
},
"parserOptions": {
"sourceType": "module"
}
}
`shell`
npx eslint . --fix
`json``
{
"scripts":{
"test": "npx eslint . --fix"
}
}