diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 17:39:46 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 17:39:46 +0300 |
commit | e81b322b43643f8fe8f6b66167e53181b4e7c068 (patch) | |
tree | aaa309edc593b17d5d516242aa94b7f7a56e6b85 /src/typescript.ts | |
parent | 8d2a8a6154f8915a6d8f77ecdee45a01c1388523 (diff) | |
download | eslint-config-e81b322b43643f8fe8f6b66167e53181b4e7c068.tar.xz eslint-config-e81b322b43643f8fe8f6b66167e53181b4e7c068.zip |
feat(import): Initial Import's config file
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/typescript.ts')
-rw-r--r-- | src/typescript.ts | 8 |
1 files changed, 4 insertions, 4 deletions
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 }, }; |