2019-11-13 06:48:02 +09:00
|
|
|
{
|
|
|
|
"env": { "node": true, "jest": true },
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": { "ecmaVersion": 2020, "sourceType": "module" },
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:import/typescript",
|
2022-01-31 12:55:11 +05:30
|
|
|
"plugin:prettier/recommended"
|
2019-11-13 06:48:02 +09:00
|
|
|
],
|
2020-03-18 22:35:13 +09:00
|
|
|
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
|
|
|
|
"rules": {
|
|
|
|
"import/first": "error",
|
|
|
|
"import/newline-after-import": "error",
|
|
|
|
"import/no-duplicates": "error",
|
2022-01-31 12:55:11 +05:30
|
|
|
"simple-import-sort/imports": "error",
|
2020-03-18 22:35:13 +09:00
|
|
|
"sort-imports": "off"
|
|
|
|
}
|
2019-11-13 06:48:02 +09:00
|
|
|
}
|