From e81b322b43643f8fe8f6b66167e53181b4e7c068 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 18:39:46 +0400 Subject: feat(import): Initial Import's config file Signed-off-by: Valentin Popov --- src/typescript.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/typescript.ts') diff --git a/src/typescript.ts b/src/typescript.ts index 0396d6b..5221154 100644 --- a/src/typescript.ts +++ b/src/typescript.ts @@ -1,5 +1,5 @@ -import overrides from "./rules/typescript/overrides.json"; -import rules from "./rules/typescript/default.json"; +import rDefault from "./rules/typescript/default.json"; +import rOverrides from "./rules/typescript/overrides.json"; module.exports = { "extends": ["./javascript"], @@ -9,7 +9,7 @@ module.exports = { "*.ts", "*.tsx", ], - rules: { ...overrides }, + rules: { ...rOverrides }, }, ], "parser": "@typescript-eslint/parser", @@ -17,5 +17,5 @@ module.exports = { tsconfigRootDir: __dirname, }, "plugins": ["@typescript-eslint"], - "rules": { ...rules }, + "rules": { ...rDefault }, }; -- cgit v1.2.3