Skip to content

Commit

Permalink
eslint: use "readonly" for globals in place of deprecated value
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Oct 21, 2021
1 parent af4ebcc commit b262895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"overrides": [
{
"files": ["*.md"],
"globals": {"$": false, "Constant": false, "S": false, "Z": false}
"globals": {"$": "readonly", "Constant": "readonly", "S": "readonly", "Z": "readonly"}
},
{
"files": ["index.js"],
"globals": {"Deno": false},
"globals": {"Deno": "readonly"},
"rules": {
"no-unused-vars": ["error", {"args": "none", "varsIgnorePattern": "^S$"}]
}
Expand Down

0 comments on commit b262895

Please sign in to comment.