Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#2151] Update Stylelint #2153

Merged
merged 8 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'

- name: Set up Node caching
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- gh-pages

env:
NODE_VER: '16.x'
NODE_VER: '18.x'
JAVA_DISTRIBUTION: 'zulu'
JAVA_VER: 8

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/surge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'

- name: Download deployment artifacts
uses: dawidd6/action-download-artifact@v2
Expand Down
67 changes: 42 additions & 25 deletions frontend/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,60 @@
{
"plugins": [
"@stylistic/stylelint-plugin",
"stylelint-order"
],
"extends": [
"stylelint-config-recommended-scss",
"stylelint-config-standard",
"stylelint-config-standard-scss",
vvidday marked this conversation as resolved.
Show resolved Hide resolved
"stylelint-config-recommended-vue"
],
"rules": {
"declaration-no-important": true,
"declaration-block-single-line-max-declarations": 1,
"no-invalid-double-slash-comments": true,
"function-no-unknown": null,
"no-descending-specificity": null,
"selector-type-no-unknown": null,
"at-rule-no-unknown": null,
"no-duplicate-selectors": null,
"length-zero-no-unit": true,
"value-keyword-case": "lower",
"selector-type-case": "lower",
"color-no-invalid-hex": true,
"string-no-newline": true,
"unit-no-unknown": true,
"property-no-unknown": true,
"block-no-empty": true,
"comment-no-empty": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"declaration-no-important": true,
"declaration-block-single-line-max-declarations": 1,
"number-leading-zero": "never",
"number-no-trailing-zeros": null,
"string-quotes": "single",
"length-zero-no-unit": true,
"value-keyword-case": "lower",
"property-case": "lower",
"declaration-colon-space-after": "always",
"selector-type-case": "lower",
"selector-list-comma-newline-after": "always",
"no-eol-whitespace": true,
"shorthand-property-no-redundant-values": null,
"declaration-empty-line-before": null,
"selector-class-pattern": null,
"color-function-notation": null,
"alpha-value-notation": null,
"comment-empty-line-before": null,
"property-no-vendor-prefix": null,
"selector-pseudo-element-colon-notation": null,
"at-rule-empty-line-before": null,
"font-family-name-quotes": null,
"color-hex-length": null,
"@stylistic/no-extra-semicolons": true,
"@stylistic/number-leading-zero": "never",
"@stylistic/number-no-trailing-zeros": null,
"@stylistic/property-case": "lower",
"@stylistic/string-quotes": "single",
"@stylistic/declaration-colon-space-after": "always",
"@stylistic/selector-list-comma-newline-after": "always",
"@stylistic/no-eol-whitespace": true,
"@stylistic/indentation": 2,
"@stylistic/block-opening-brace-space-before": "always",
"@stylistic/declaration-colon-space-before": "never",
"order/properties-alphabetical-order": true,
"indentation": 2,
"scss/at-import-partial-extension": null,
"function-no-unknown": null,
"scss/at-import-no-partial-leading-underscore": null,
"no-descending-specificity": null,
"scss/no-global-function-names": null,
"selector-type-no-unknown": null,
"at-rule-no-unknown": null,
"no-duplicate-selectors": null,
"block-opening-brace-space-before": "always",
"declaration-colon-space-before": "never"
"scss/at-import-no-partial-leading-underscore": null,
"scss/at-import-partial-extension": null,
"scss/load-no-partial-leading-underscore": null,
"scss/double-slash-comment-empty-line-before": null,
"scss/double-slash-comment-whitespace-inside": null,
"scss/dollar-variable-pattern": null
}
}
4 changes: 2 additions & 2 deletions frontend/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset',
],
};
],
}
sopa301 marked this conversation as resolved.
Show resolved Hide resolved
Loading
Loading