mirror of
https://github.com/colanode/colanode.git
synced 2025-12-28 16:06:37 +01:00
45 lines
955 B
JSON
45 lines
955 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript",
|
|
"prettier"
|
|
],
|
|
"plugins": ["import"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"rules": {
|
|
"no-unused-vars": "off",
|
|
"import/no-unresolved": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ "vars": "all", "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }
|
|
],
|
|
"no-console": "off",
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"groups": [
|
|
"external",
|
|
"builtin",
|
|
"internal",
|
|
"sibling",
|
|
"parent",
|
|
"index"
|
|
],
|
|
"newlines-between": "always"
|
|
}
|
|
]
|
|
},
|
|
"ignorePatterns": ["dist", "node_modules"]
|
|
}
|