From 5f9cf77500c580ef7bbb9d0194fa1848ebf506e7 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Sun, 15 Nov 2020 15:59:16 +0530 Subject: [PATCH] fix: eslint config --- .eslintrc.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index c1be54f..ca9474c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,13 +1,25 @@ { "extends": [ "@abhijithvijayan/eslint-config", + "@abhijithvijayan/eslint-config/node", "@abhijithvijayan/eslint-config/react" ], + "parserOptions": { + "sourceType": "module" + }, "rules": { "no-console": "off", "no-extend-native": "off", "react/jsx-props-no-spreading": "off", - "jsx-a11y/label-has-associated-control": "off" + "jsx-a11y/label-has-associated-control": "off", + "class-methods-use-this": "off", + "max-classes-per-file": "off", + "node/no-unpublished-require": "off", + "node/no-missing-import": "off", + "node/no-unpublished-import": "off", + "node/no-unsupported-features/es-syntax": ["error", { + "ignores": ["modules"] + }] }, "env": { "webextensions": true