summaryrefslogtreecommitdiff
path: root/web/source/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/source/.eslintrc.js')
-rw-r--r--web/source/.eslintrc.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/web/source/.eslintrc.js b/web/source/.eslintrc.js
index fb0148730..8d9d898c8 100644
--- a/web/source/.eslintrc.js
+++ b/web/source/.eslintrc.js
@@ -17,13 +17,15 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-"use strict";
-
module.exports = {
"extends": ["@joepie91/eslint-config/react"],
- "plugins": ["license-header"],
+ "parser": "@typescript-eslint/parser",
+ "plugins": ["@typescript-eslint", "license-header"],
"rules": {
"license-header/header": ["error", __dirname + "/.license-header.js"],
"no-console": 'error'
+ },
+ "parserOptions": {
+ "sourceType": "module"
}
}; \ No newline at end of file