Skip to content

Commit

Permalink
Merge pull request #719 from sanctuary-js/davidchambers/eslint
Browse files Browse the repository at this point in the history
eslint: use "readonly" for globals in place of deprecated value
  • Loading branch information
davidchambers committed Oct 21, 2021
2 parents b05b5c5 + 4efa10a commit fd5a923
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .eslintrc.json
Expand Up @@ -27,21 +27,21 @@
{
"files": ["*.md"],
"globals": {
"$": false,
"Cons": false,
"Descending": false,
"Just": false,
"Left": false,
"Nil": false,
"Nothing": false,
"Pair": false,
"R": false,
"Right": false,
"S": false,
"Sum": false,
"localStorage": false,
"sanctuary": false,
"window": false
"$": "readonly",
"Cons": "readonly",
"Descending": "readonly",
"Just": "readonly",
"Left": "readonly",
"Nil": "readonly",
"Nothing": "readonly",
"Pair": "readonly",
"R": "readonly",
"Right": "readonly",
"S": "readonly",
"Sum": "readonly",
"localStorage": "readonly",
"sanctuary": "readonly",
"window": "readonly"
},
"rules": {
"comma-dangle": ["error", "always-multiline"],
Expand All @@ -54,7 +54,7 @@
},
{
"files": ["index.js"],
"globals": {"process": false},
"globals": {"process": "readonly"},
"rules": {
"max-len": ["error", {"code": 79, "ignoreUrls": true, "ignorePattern": "^ *//(# | .* :: |[.] > |[.] // |[.] \\[.*\\]: |[.] .* Function x )"}],
"multiline-comment-style": ["off"]
Expand Down

0 comments on commit fd5a923

Please sign in to comment.