Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Update eslint rules (#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread authored Feb 15, 2021
1 parent 750bb67 commit 723a5a5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "script"
"sourceType": "script",
"ecmaFeatures": {
"globalReturn": false,
"impliedStrict": true
}
},
"env": {
"browser": true,
Expand Down Expand Up @@ -203,6 +207,18 @@
"Intl": "readonly",
"crypto": "readonly"
}
},
{
"files": [
"ext/js/**/*.js"
],
"excludedFiles": [
"ext/js/core.js",
"ext/js/**/*main.js"
],
"rules": {
"no-implicit-globals": "error"
}
}
]
}

0 comments on commit 723a5a5

Please sign in to comment.