2019-11-13 04:48:02 +07: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 14:25:11 +07:00
|
|
|
"plugin:prettier/recommended"
|
2019-11-13 04:48:02 +07:00
|
|
|
],
|
2020-03-18 20:35:13 +07:00
|
|
|
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
|
|
|
|
"rules": {
|
|
|
|
"import/first": "error",
|
|
|
|
"import/newline-after-import": "error",
|
|
|
|
"import/no-duplicates": "error",
|
2022-01-31 14:25:11 +07:00
|
|
|
"simple-import-sort/imports": "error",
|
2020-03-18 20:35:13 +07:00
|
|
|
"sort-imports": "off"
|
|
|
|
}
|
2019-11-13 04:48:02 +07:00
|
|
|
}
|