diff --git a/.eslintrc.json b/.eslintrc.json index 255b0f2f8..30afb5924 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,6 @@ { "extends": [ - "./lint/eslintrc-gjs.json" + "./lint/eslintrc-gjs.json", + "./lint/eslintrc-shell.json" ] } diff --git a/lint/eslintrc-shell.json b/lint/eslintrc-shell.json new file mode 100644 index 000000000..f59417c44 --- /dev/null +++ b/lint/eslintrc-shell.json @@ -0,0 +1,15 @@ +{ + "overrides": [ + { + "files": "js/**", + "excludedFiles": ["js/extensionPrefs/*", "js/portalHelper/*"], + "globals": { + "global": false, + "_": false, + "C_": false, + "N_": false, + "ngettext": false + } + } + ] +}