2024-12-01 21:40:17 +01:00
|
|
|
{
|
|
|
|
|
"root": true,
|
|
|
|
|
"extends": [
|
|
|
|
|
"eslint:recommended",
|
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
|
"plugin:import/recommended",
|
2024-12-02 00:44:02 +01:00
|
|
|
"plugin:import/typescript",
|
|
|
|
|
"prettier"
|
2024-12-01 21:40:17 +01:00
|
|
|
],
|
2024-12-02 00:44:02 +01:00
|
|
|
"plugins": ["import"],
|
2024-12-01 21:40:17 +01:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
|
"parserOptions": {
|
|
|
|
|
"ecmaVersion": 2020
|
|
|
|
|
},
|
|
|
|
|
"env": {
|
|
|
|
|
"node": true,
|
|
|
|
|
"es6": true
|
|
|
|
|
},
|
|
|
|
|
"rules": {
|
2024-12-01 23:51:33 +01:00
|
|
|
"no-unused-vars": "off",
|
|
|
|
|
"import/no-unresolved": "off",
|
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
|
"error",
|
|
|
|
|
{ "vars": "all", "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }
|
|
|
|
|
],
|
2024-12-02 00:44:02 +01:00
|
|
|
"no-console": "off",
|
|
|
|
|
"import/order": [
|
|
|
|
|
"error",
|
|
|
|
|
{
|
|
|
|
|
"groups": [
|
|
|
|
|
"builtin",
|
2025-06-11 00:14:17 +02:00
|
|
|
"external",
|
2024-12-02 00:44:02 +01:00
|
|
|
"internal",
|
2025-06-11 00:14:17 +02:00
|
|
|
["parent", "sibling", "index"]
|
|
|
|
|
],
|
|
|
|
|
"pathGroups": [
|
|
|
|
|
{
|
|
|
|
|
"pattern": "@colanode/**",
|
|
|
|
|
"group": "internal",
|
|
|
|
|
"position": "after"
|
|
|
|
|
}
|
2024-12-02 01:33:25 +01:00
|
|
|
],
|
2025-06-11 00:14:17 +02:00
|
|
|
"pathGroupsExcludedImportTypes": ["builtin"],
|
|
|
|
|
"alphabetize": {
|
|
|
|
|
"order": "asc",
|
|
|
|
|
"caseInsensitive": true
|
|
|
|
|
},
|
2024-12-02 01:33:25 +01:00
|
|
|
"newlines-between": "always"
|
2024-12-02 00:44:02 +01:00
|
|
|
}
|
|
|
|
|
]
|
2024-12-01 23:51:33 +01:00
|
|
|
},
|
|
|
|
|
"ignorePatterns": ["dist", "node_modules"]
|
2024-12-01 21:40:17 +01:00
|
|
|
}
|