Skip to content

Commit 7490846

Browse files
SpliiTgithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent c439273 commit 7490846

3 files changed

Lines changed: 69 additions & 9 deletions

File tree

.oxlintrc.json

Lines changed: 69 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,96 @@
77
"style": "error",
88
"restriction": "error"
99
},
10-
"plugins": ["import", "node", "oxc", "promise", "unicorn", "vitest"],
10+
"plugins": ["import", "node", "oxc", "promise", "unicorn", "vitest", "vue"],
1111
"rules": {
1212
"unicorn/filename-case": [
1313
"error",
1414
{
1515
"case": "snakeCase"
1616
}
1717
],
18-
"eslint/func-style": [
18+
"eslint/func-style": ["error", "declaration"],
19+
"eslint/sort-keys": "off",
20+
"eslint/no-ternary": "off", // A utiliser pour des opérations simples
21+
"oxc/no-async-await": "off",
22+
"oxc/no-rest-spread-properties": "off", // Enable if older browser support is needed
23+
"eslint/max-statements": ["warn", 20],
24+
"eslint/id-length": [
1925
"error",
2026
{
21-
"style:": "declaration"
27+
"exceptions": [
28+
"x",
29+
"y",
30+
"z",
31+
"i",
32+
"j",
33+
"k",
34+
"r",
35+
"g",
36+
"b",
37+
"id",
38+
"ID",
39+
"fs",
40+
"os"
41+
],
42+
"min": 3
2243
}
2344
],
24-
"eslint/sort-keys": "off",
25-
"eslint/no-ternary": "off"
45+
"eslint/no-console": "warn", // Disable for debugging. Disable later to not have browser logs
46+
"sort-imports": ["error", { "allowSeparatedGroups": true }],
47+
"eslint/no-undefined": "off", // Conflict with unicorn/no-typeof-undefined which prefers direct undefined comparison
48+
"import/prefer-default-export": "off",
49+
"import/no-named-export": "off",
50+
"import/no-namespace": ["error", { "ignore": ["vuetify/*"] }],
51+
"vue/max-props": ["error", { "maxProps": 8 }],
52+
"oxc/no-optional-chaining": "off",
53+
"node/no-process-env": "off",
54+
"no-continue": "off",
55+
"import/unambiguous": "off",
56+
"max-params": ["warn", { "max": 4 }],
57+
"eslint/no-magic-numbers": [
58+
"error",
59+
{
60+
"ignore": [-1, 0, 1, 2, 3, 4],
61+
"ignoreArrayIndexes": true
62+
}
63+
]
2664
},
2765
"overrides": [
2866
{
29-
"files": ["**/components/*"],
67+
"files": ["**/components/**"],
3068
"rules": {
3169
"unicorn/filename-case": [
3270
"error",
3371
{
34-
"case": "PascalCase"
72+
"case": "pascalCase"
3573
}
3674
]
3775
}
76+
},
77+
{
78+
"files": [
79+
"app/plugins/**",
80+
"node_scripts/**",
81+
"server/**",
82+
"*.config.js"
83+
],
84+
"rules": {
85+
"import/no-default-export": "off"
86+
}
87+
},
88+
{
89+
"files": ["tests/**"],
90+
"rules": {
91+
"vitest/require-hook": "off",
92+
"vitest/no-hooks": "off"
93+
}
94+
},
95+
{
96+
"files": ["**/preload.js"],
97+
"rules": {
98+
"import/no-commonjs": "off"
99+
}
38100
}
39101
]
40102
}

tests/integration/microservices/back/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
# pip-compile --output-file=tests/integration/microservices/back/requirements.txt tests/integration/microservices/back/requirements.in
66
#
77

8-
opengeodeweb-back==6.*,>=6.2.0rc2

tests/integration/microservices/viewer/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
# pip-compile --output-file=tests/integration/microservices/viewer/requirements.txt tests/integration/microservices/viewer/requirements.in
66
#
77

8-
opengeodeweb-viewer==1.*,>=1.15.4rc1

0 commit comments

Comments
 (0)