actions-toolkit/.eslintrc.json
CrazyMax c11b80183c
fix eslint config and lint issues
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-01 12:51:48 +01:00

35 lines
713 B
JSON

{
"env": {
"node": true,
"es2021": true,
"mocha": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/typescript", // this is needed to allow importing typescript files from JS
"plugin:import/warnings",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"jest",
"prettier"
],
"rules": {
"import/no-unresolved": [
"error", {
"ignore": ["csv-parse/sync"]
}
]
}
}