From 1112be7dc0d09e1a0bb55bc0cecf8c9867d1dc23 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 6 Nov 2020 01:26:07 +0900 Subject: [PATCH] chore: remove eslint config (#8255) --- .eslintignore | 8 -------- .eslintrc.json | 45 --------------------------------------------- 2 files changed, 53 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.json diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index a07adeb942..0000000000 --- a/.eslintignore +++ /dev/null @@ -1,8 +0,0 @@ -cli/compilers/wasm_wrap.js -cli/tests/error_syntax.js -std/deno.d.ts -std/**/testdata/ -std/**/node_modules/ -cli/tsc/*typescript.js -cli/dts/* -cli/bench/node*.js diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 34a06f4505..0000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "root": true, - "parser": "@typescript-eslint/parser", - "parserOptions": { - "createDefaultProgram": true - }, - "plugins": ["@typescript-eslint"], - "extends": [ - "plugin:@typescript-eslint/recommended", - "prettier", - "prettier/@typescript-eslint" - ], - "rules": { - "@typescript-eslint/array-type": ["error", { "default": "array-simple" }], - "@typescript-eslint/ban-ts-comment": ["off"], - "@typescript-eslint/explicit-member-accessibility": ["off"], - "@typescript-eslint/explicit-module-boundary-types": ["off"], - "@typescript-eslint/no-non-null-assertion": ["off"], - "@typescript-eslint/no-use-before-define": ["off"], - "@typescript-eslint/no-parameter-properties": ["off"], - "@typescript-eslint/no-unused-vars": [ - "error", - { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } - ], - "@typescript-eslint/ban-ts-ignore": ["off"], - "@typescript-eslint/no-empty-function": ["off"], - "no-return-await": "error", - "require-await": "error", - "no-async-promise-executor": "error" - }, - "overrides": [ - { - "files": ["*.js"], - "rules": { - "@typescript-eslint/explicit-function-return-type": ["off"] - } - }, - { - "files": ["tools/node_*.js"], - "rules": { - "@typescript-eslint/no-var-requires": ["off"] - } - } - ] -}