mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-10-04 16:35:42 -04:00
Update ESLint rules.
This commit is contained in:
1 parent
7baa5fd998
commit
3ba8a40832
1 file changed
+10
@@ -40,6 +40,16 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"es6": true,
|
"es6": true,
|
||||||
"node": true
|
"node": true
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"prefer-destructuring": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"object": true,
|
||||||
|
"array": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"strict": "error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user