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