Skip to content

Commit 5c0d706

Browse files
committed
Issue #3271850: Switch from deprecated Node Sass to Dart Sass compiler using Gulp and change minimum node version to 16.0 and later in the Varbase distribution
1 parent 432031d commit 5c0d706

File tree

10 files changed

+2254
-3512
lines changed

10 files changed

+2254
-3512
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ behat.yml
55
behat.varbase.yml
66
drupalci.yml
77
**/drupalci.yml
8-
**/librarie
8+
**/libraries/

.eslintrc.json

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,35 @@
11
{
22
"extends": [
3-
"airbnb",
4-
"plugin:react/recommended",
3+
"airbnb-base",
54
"plugin:prettier/recommended",
65
"plugin:yml/recommended"
76
],
87
"root": true,
98
"env": {
10-
"browser": true
9+
"browser": true,
10+
"es6": true,
11+
"node": true
1112
},
1213
"globals": {
1314
"Drupal": true,
1415
"drupalSettings": true,
1516
"drupalTranslations": true,
16-
"domready": true,
1717
"jQuery": true,
1818
"_": true,
19-
"matchMedia": true,
19+
"Cookies": true,
2020
"Backbone": true,
2121
"Modernizr": true,
22+
"loadjs": true,
2223
"Popper": true,
2324
"Shepherd": true,
2425
"Sortable": true,
2526
"once": true,
2627
"CKEDITOR": true,
28+
"CKEditor5": true,
2729
"tabbable": true
2830
},
29-
"settings": {
30-
"react": {
31-
"version": "latest"
32-
}
33-
},
3431
"rules": {
35-
"prettier/prettier": ["error", {
36-
"trailingComma": "none"
37-
}],
32+
"prettier/prettier": "error",
3833
"consistent-return": ["off"],
3934
"no-underscore-dangle": ["off"],
4035
"max-nested-callbacks": ["warn", 3],
@@ -52,12 +47,6 @@
5247
"requireReturn": false
5348
}],
5449
"no-unused-vars": ["warn"],
55-
"object-shorthand": 0,
56-
"prefer-arrow-callback": 0,
57-
"func-names": 0,
58-
"no-use-before-define": 0,
59-
"one-var": 0,
60-
"operator-linebreak": ["error", "after", { "overrides": { "?": "ignore", ":": "ignore" } }],
61-
"prefer-template": 0
50+
"operator-linebreak": ["error", "after", { "overrides": { "?": "ignore", ":": "ignore" } }]
6251
}
6352
}

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
*.yml

.prettierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 80,
3+
"semi": true,
4+
"singleQuote": true,
5+
"trailingComma": "all"
6+
}

.stylelintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/**/*.css
22
vendor/**/*.css
3+
**/libraries/
34
**/*.min.css"
45
/css/variables.css
56
/css/mixins/
@@ -18,4 +19,11 @@ config/**/*.yml
1819
*.ico
1920
*.json
2021
*.make
22+
*.md
23+
*.po
24+
*.xml
25+
*.js
26+
*.install
27+
*.profile
28+
*.lock
2129
package

.stylelintrc.json

Lines changed: 47 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
11
{
22
"extends": "stylelint-config-standard",
33
"plugins": [
4-
"stylelint-no-browser-hacks/lib",
54
"stylelint-order"
65
],
76
"rules": {
7+
"alpha-value-notation": "number",
8+
"at-rule-no-vendor-prefix": null,
9+
"color-function-notation": "legacy",
810
"comment-empty-line-before": null,
11+
"custom-property-pattern": "^[a-z][-_a-z0-9IE]*$",
12+
"declaration-block-no-redundant-longhand-properties": null,
913
"function-linear-gradient-no-nonstandard-direction": null,
14+
"function-url-quotes": null,
1015
"function-whitespace-after": null,
16+
"hue-degree-notation": "number",
1117
"no-descending-specificity": null,
1218
"no-duplicate-selectors": null,
1319
"no-unknown-animations": true,
20+
"max-line-length": null,
1421
"media-feature-name-no-unknown": [true, {
1522
"ignoreMediaFeatureNames": [
1623
"prefers-reduced-motion",
1724
"min--moz-device-pixel-ratio"
1825
]
1926
}],
27+
"media-feature-name-no-vendor-prefix": null,
2028
"number-leading-zero": "always",
29+
"number-max-precision": 5,
2130
"order/order": [
2231
"custom-properties",
2332
"dollar-variables",
@@ -114,11 +123,19 @@
114123
"margin-right",
115124
"margin-bottom",
116125
"margin-left",
126+
"margin-block-start",
127+
"margin-block-end",
128+
"margin-inline-start",
129+
"margin-inline-end",
117130
"padding",
118131
"padding-top",
119132
"padding-right",
120133
"padding-bottom",
121134
"padding-left",
135+
"padding-block-start",
136+
"padding-block-end",
137+
"padding-inline-start",
138+
"padding-inline-end",
122139

123140
"table-layout",
124141
"-webkit-columns",
@@ -325,6 +342,22 @@
325342
"border-left-width",
326343
"border-left-style",
327344
"border-left-color",
345+
"border-block-start",
346+
"border-block-start-width",
347+
"border-block-start-style",
348+
"border-block-start-color",
349+
"border-inline-end",
350+
"border-inline-end-width",
351+
"border-inline-end-style",
352+
"border-inline-end-color",
353+
"border-block-end",
354+
"border-block-end-width",
355+
"border-block-end-style",
356+
"border-block-end-color",
357+
"border-inline-start",
358+
"border-inline-start-width",
359+
"border-inline-start-style",
360+
"border-inline-start-color",
328361
"-webkit-border-radius",
329362
"-moz-border-radius",
330363
"border-radius",
@@ -421,27 +454,24 @@
421454
"font-smooth",
422455
"line-height"
423456
],
424-
"plugin/no-browser-hacks": [true, {
425-
"browsers": [
426-
"ie >= 9",
427-
"edge >= 13",
428-
"firefox >= 5",
429-
"opera >= 12",
430-
"safari >= 5",
431-
"chrome >= 56"
432-
]
433-
}],
434457
"property-no-unknown": null,
458+
"property-no-vendor-prefix": null,
435459
"rule-empty-line-before": null,
460+
"selector-attribute-quotes": null,
461+
"selector-class-pattern": null,
462+
"selector-id-pattern": "^[a-z][-_a-z0-9]*$",
463+
"selector-no-vendor-prefix": null,
436464
"selector-pseudo-element-colon-notation": null,
437465
"shorthand-property-no-redundant-values": null,
438466
"string-quotes": "double",
439-
"unit-allowed-list": ["deg", "em", "ex", "ms", "rem", "%", "s", "px", "vw", "vh"],
440-
"font-family-no-missing-generic-family-keyword": [true, {
441-
"ignoreFontFamilies": [
442-
"Font Awesome 5 Brands",
443-
"Font Awesome 5 Free"
467+
"unit-allowed-list": ["ch", "deg", "em", "ex", "fr", "ms", "rem", "%", "s", "px", "vw", "vh"],
468+
"value-keyword-case": ["lower", {
469+
"camelCaseSvgKeywords": true,
470+
"ignoreProperties": [
471+
"--font-family",
472+
"font-family"
444473
]
445-
}]
474+
}],
475+
"value-no-vendor-prefix": null
446476
}
447477
}

0 commit comments

Comments
 (0)