Skip to content

Commit de33168

Browse files
authored
chore: fix package de sync (#95)
1 parent 8f780ff commit de33168

File tree

29 files changed

+6865
-11994
lines changed

29 files changed

+6865
-11994
lines changed

src/Resources/app/administration/.eslintrc.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// eslint-disable-next-line no-undef
1+
/**
2+
* @package fundamentals@after-sales
3+
*/
24
module.exports = {
35
root: true,
46
env: {
@@ -12,6 +14,7 @@ module.exports = {
1214
'eslint:recommended',
1315
'plugin:@typescript-eslint/recommended',
1416
'plugin:vue/vue3-recommended',
17+
'prettier',
1518
],
1619
plugins: [
1720
'@typescript-eslint',
@@ -25,24 +28,21 @@ module.exports = {
2528
parser: '@typescript-eslint/parser',
2629
settings: {
2730
'import/resolver': {
28-
node: {},
29-
webpack: {
30-
config: {
31-
resolve: {
32-
extensions: ['.js', '.ts', '.vue', '.json', '.less', '.twig'],
33-
},
34-
},
31+
node: {
32+
extensions: ['.js', '.ts', '.vue', '.json', '.less', '.twig'],
3533
},
3634
},
3735
},
3836
rules: {
39-
indent: ['error', 4, { SwitchCase: 1 }],
4037
quotes: ['error', 'single', { avoidEscape: true }],
4138
semi: ['error', 'always'],
4239
'comma-dangle': ['error', 'always-multiline'],
4340
'max-len': ['error', 125, {
4441
ignoreRegExpLiterals: true,
4542
ignoreComments: false,
43+
ignoreStrings: true,
44+
ignoreTemplateLiterals: true,
45+
ignoreUrls: true,
4646
}],
4747
'no-console': ['error', { allow: ['warn', 'error'] }],
4848
'no-debugger': 'error',
@@ -71,7 +71,6 @@ module.exports = {
7171
files: ['*.ts', '*.vue'],
7272
rules: {
7373
'@typescript-eslint/explicit-module-boundary-types': 'error',
74-
indent: 'off',
7574
},
7675
},
7776
{
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"extends": "stylelint-config-standard-scss",
3+
"ignoreFiles": [
4+
"node_modules/"
5+
],
6+
"rules": {
7+
"indentation": 4,
8+
"color-hex-case": "lower",
9+
"no-missing-end-of-source-newline": true,
10+
"property-no-unknown": [true, {
11+
"severity": "warning",
12+
"ignoreProperties": [
13+
"user-focus",
14+
"user-input",
15+
"user-modify"
16+
]
17+
}],
18+
"no-descending-specificity": null,
19+
"max-nesting-depth": [4, {
20+
"ignore": ["blockless-at-rules", "pseudo-classes"],
21+
"severity": "warning"
22+
}],
23+
"at-rule-no-unknown": null,
24+
"scss/at-rule-no-unknown": true,
25+
"selector-class-pattern": null,
26+
"color-function-notation": "legacy",
27+
"declaration-block-no-redundant-longhand-properties": null,
28+
"scss/no-global-function-names": null,
29+
"property-no-vendor-prefix": null,
30+
"custom-property-pattern": null,
31+
"max-line-length": [
32+
120,
33+
{
34+
"severity": "warning"
35+
}
36+
],
37+
"scss/dollar-variable-pattern": null,
38+
"selector-id-pattern": null,
39+
"keyframes-name-pattern": null
40+
}
41+
}

0 commit comments

Comments
 (0)