aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-06-07 00:58:12 +0200
committerGitHub <noreply@github.com>2021-06-07 00:58:12 +0200
commit70dae67b73dfea9126f126f516fe8286f1e73417 (patch)
treee61eafab41ee74330fecf1da2ce125050cfac49b /.eslintrc.json
parenta12c98574d07f002fd59d166f9fc1fd391581b91 (diff)
downloadjquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.tar.gz
jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.zip
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393 Closes gh-1958
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json21
1 files changed, 21 insertions, 0 deletions
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" ]
+ }
+}