2023-01-17 18:53:57 +08:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"es2021": true,
|
2023-02-01 19:46:43 +08:00
|
|
|
"mocha": true,
|
|
|
|
"jest": true
|
2023-01-17 18:53:57 +08:00
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
2023-02-01 19:46:43 +08:00
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/typescript", // this is needed to allow importing typescript files from JS
|
|
|
|
"plugin:import/warnings",
|
2023-01-17 18:53:57 +08:00
|
|
|
"plugin:jest/recommended",
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint",
|
|
|
|
"jest",
|
|
|
|
"prettier"
|
2023-02-01 19:46:43 +08:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"import/no-unresolved": [
|
|
|
|
"error", {
|
|
|
|
"ignore": ["csv-parse/sync"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-01-17 18:53:57 +08:00
|
|
|
}
|