mirror of
https://gitee.com/actions-mirror/cache.git
synced 2024-11-30 14:00:43 +08:00
23 lines
684 B
JSON
23 lines
684 B
JSON
{
|
|
"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",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
|
|
"rules": {
|
|
"import/first": "error",
|
|
"import/newline-after-import": "error",
|
|
"import/no-duplicates": "error",
|
|
"simple-import-sort/imports": "error",
|
|
"sort-imports": "off"
|
|
}
|
|
}
|