1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-07-04 10:16:38 -04:00

Move ESLint config outside of package.json

This commit is contained in:
XhmikosR
2021-12-07 09:40:25 +02:00
parent e8f7b6225d
commit 2c116d0670
2 changed files with 29 additions and 18 deletions

21
.eslintrc.json Normal file
View File

@ -0,0 +1,21 @@
{
"root": true,
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2019
},
"extends": "eslint:recommended",
"rules": {
"prefer-destructuring": [
"error",
{
"object": true,
"array": false
}
],
"strict": "error"
}
}