Skip to content

Commit

Permalink
Enable strict rule
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Mar 16, 2020
1 parent 1c71ba0 commit 13c2b53
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
]
},
"xo": {
"parserOptions": {
"sourceType": "script"
},
"plugins": [
"eslint-plugin"
],
Expand All @@ -94,9 +97,22 @@
"rules": {
"eslint-plugin/require-meta-docs-url": "off"
}
},
{
"files": "test/*.js",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"strict": "off"
}
}
],
"rules": {
"strict": [
"error",
"global"
],
"import/order": "off"
}
}
Expand Down

0 comments on commit 13c2b53

Please sign in to comment.