From 4efa10a2d80f1164332233956747121652f1186f Mon Sep 17 00:00:00 2001 From: David Chambers Date: Thu, 21 Oct 2021 01:00:47 +0200 Subject: [PATCH] eslint: use "readonly" for globals in place of deprecated value --- .eslintrc.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 74ff719a4..019cf6d01 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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"], @@ -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"]