mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Update stylelint + fix errors
This commit is contained in:
parent
3420b64469
commit
c4c0101c4a
@ -2,6 +2,7 @@ extends:
|
||||
- stylelint-prettier/recommended
|
||||
- stylelint-config-recommended
|
||||
- stylelint-config-recommended-scss
|
||||
- stylelint-stylistic/config
|
||||
|
||||
ignoreFiles:
|
||||
- indico/web/static/dist/**/*.css
|
||||
@ -43,7 +44,6 @@ rules:
|
||||
|
||||
value-keyword-case: lower
|
||||
|
||||
scss/at-import-no-partial-leading-underscore: true
|
||||
scss/at-import-partial-extension: never
|
||||
scss/at-function-pattern: ^([a-z][a-z0-9]*)(-[a-z0-9]+)*$
|
||||
scss/at-mixin-argumentless-call-parentheses: always
|
||||
@ -54,6 +54,7 @@ rules:
|
||||
scss/double-slash-comment-whitespace-inside: always
|
||||
scss/declaration-nested-properties: never
|
||||
scss/dimension-no-non-numeric-values: true
|
||||
scss/load-no-partial-leading-underscore: true
|
||||
scss/media-feature-value-dollar-variable:
|
||||
- always
|
||||
- ignore: [keywords]
|
||||
@ -72,3 +73,13 @@ rules:
|
||||
scss/at-extend-no-missing-placeholder: null
|
||||
# prettier's formatting can violate this
|
||||
scss/operator-no-newline-after: null
|
||||
# single quotes are clearly superior
|
||||
stylistic/string-quotes: single
|
||||
|
||||
# these rule conflict with stylelint-prettier formatting
|
||||
stylistic/indentation: null
|
||||
stylistic/selector-descendant-combinator-no-non-space: null
|
||||
stylistic/declaration-colon-newline-after: null
|
||||
stylistic/selector-combinator-space-before: null
|
||||
stylistic/block-closing-brace-newline-after: null
|
||||
stylistic/value-list-comma-newline-after: null
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
}
|
||||
|
||||
:global(.field.error) iframe {
|
||||
border: 1px solid #cc0000;
|
||||
border: 1px solid #c00;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ form#attachment-owncloudfilepicker-form.full-width .owncloudfilepicker {
|
||||
}
|
||||
|
||||
.owncloudfilepicker {
|
||||
border: 0px none;
|
||||
border: 0 none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
2292
package-lock.json
generated
2292
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -19,10 +19,11 @@
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"lodash": "^4.17.21",
|
||||
"prettier": "~1.18.2",
|
||||
"stylelint": "^14.9.1",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint-config-recommended-scss": "^6.0.0",
|
||||
"stylelint": "^15.11.0",
|
||||
"stylelint-config-prettier": "^9.0.5",
|
||||
"stylelint-config-recommended-scss": "^13.1.0",
|
||||
"stylelint-prettier": "^1.2.0",
|
||||
"stylelint-scss": "^4.2.0"
|
||||
"stylelint-scss": "^5.3.2",
|
||||
"stylelint-stylistic": "^0.4.5"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user