Skip to content

Commit

Permalink
More rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pieter-pon committed Oct 27, 2021
1 parent 505c80e commit 9eccfac
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@
"allowElseIf": false
}
],
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"arrow-body-style": [
"error",
"as-needed"
Expand Down Expand Up @@ -153,6 +147,32 @@
],
"no-await-in-loop": "error",
"no-inner-declarations": "error",
"no-var": "error",
"prefer-arrow-callback": [
"error",
{
"allowNamedFunctions": false,
"allowUnboundThis": true
}
],
"prefer-destructuring": [
"error",
{
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": true,
"object": false
}
},
{
"enforceForRenamedProperties": false
}
],
"prefer-rest-params": "error",
"prefer-spread": "error",
"valid-jsdoc": [
"error",
{
Expand Down

0 comments on commit 9eccfac

Please sign in to comment.