diff --git a/.eslintrc.es5.json b/.eslintrc.es5.json index 70b87f9e2f..e642534dff 100644 --- a/.eslintrc.es5.json +++ b/.eslintrc.es5.json @@ -5,7 +5,8 @@ "browser": true }, "parserOptions": { - "ecmaVersion": 5 + "ecmaVersion": 6, + "sourceType": "module" }, "rules": { "no-underscore-dangle": 0 // Backbone uses underscores, we cannot remove them diff --git a/.eslintrc.tests.json b/.eslintrc.tests.json index cbfd3d5ad2..ac205e9e54 100644 --- a/.eslintrc.tests.json +++ b/.eslintrc.tests.json @@ -5,7 +5,8 @@ "mocha": true }, "parserOptions": { - "ecmaVersion": 6 + "ecmaVersion": 6, + "sourceType": "module" }, "rules": { "no-only-tests/no-only-tests": 2,