From 70dae67b73dfea9126f126f516fe8286f1e73417 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Mon, 7 Jun 2021 00:58:12 +0200 Subject: Build: Migrate from JSHint & JSCS to ESLint Fixes #15393 Closes gh-1958 --- .eslintrc.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .eslintrc.json (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 000000000..e7d67eb0e --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,21 @@ +{ + "root": true, + + "extends": "jquery", + + // Uncomment to find useless comment disable directives + // "reportUnusedDisableDirectives": true, + + "parserOptions": { + "ecmaVersion": 2018 + }, + + "env": { + "es6": true, + "node": true + }, + + "rules": { + "strict": [ "error", "global" ] + } +} -- cgit v1.2.3