diff --git a/interface/.eslintignore b/interface/.eslintignore new file mode 100644 index 000000000..965d55e2c --- /dev/null +++ b/interface/.eslintignore @@ -0,0 +1,2 @@ +# don't ever lint node_modules +node_modules diff --git a/interface/.eslintrc b/interface/.eslintrc new file mode 100644 index 000000000..2d797fbf4 --- /dev/null +++ b/interface/.eslintrc @@ -0,0 +1,27 @@ +{ + "root": true, + "parser": "@typescript-eslint/parser", + "plugins": [ + "@typescript-eslint", + "prettier" + ], + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/eslint-recommended", + "plugin:@typescript-eslint/recommended", + "prettier" + ], + "rules": { + // 0 = ignore, 1 = warning, 2 = error + "no-console": 0, + "prettier/prettier": 2, + "explicit-function-return-type": 0, + "@typescript-eslint/explicit-module-boundary-types": 0, + "@typescript-eslint/no-var-requires": 0, + "@typescript-eslint/ban-types": 0, + "@typescript-eslint/no-non-null-asserted-optional-chain": 0, + "@typescript-eslint/no-non-null-assertion": 0, + "@typescript-eslint/no-explicit-any": 0 + } + } + \ No newline at end of file