mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
6a994e05f6
* creating css .stylelintrc file (cherry picked from commit df0a573666151fb522cb203f82a7a6a979fc33cc) * updating lintfile (cherry picked from commit 623ad22d69566a912988239c05d2f803e735362f) * ignore base bootstrap styles (cherry picked from commit 0ea94926a004367a67983b08a8ea47c974ef6e49) * Working on making css inline with css linting (cherry picked from commit 259fdfcaf9ae280e664471c7d5278214d991168e) * removing generic class names and nesting for clear names without nesting (cherry picked from commit d0427c2c09771df049ed9ab4e7b5d2f2076106fd) * making components compatable with new css lint (cherry picked from commit b147f157c3b9b39708a750f281d8278211454137) * updating csslint file (cherry picked from commit 53b0480476b6e5c4d94763baeaef7d33e9c2342d) * adding alphabetical ordering to stylelint and updating css files with this (cherry picked from commit a6b7860efa01e673df20546bb5830587eeb140d6) * integrate stylelint with webpack this way we can integrate postcss plugins # Conflicts: # ui/yarn.lock * exit process with 1, when stylelint finds issues * listen to unhandled rejection from stylelint * use stylelintignore * fix stylelint raised issues
51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
{
|
|
"extends": "stylelint-config-standard",
|
|
"rules": {
|
|
"color-hex-case": "upper",
|
|
"color-hex-length": "long",
|
|
"font-family-name-quotes": "always-where-recommended",
|
|
"string-quotes": "double",
|
|
"value-list-comma-space-after": "always",
|
|
"custom-property-no-outside-root": true,
|
|
"property-no-unknown": [true, {
|
|
"ignoreProperties": [
|
|
"",
|
|
"composes"
|
|
]
|
|
}],
|
|
"declaration-colon-space-after": "always",
|
|
"declaration-no-important": true,
|
|
"declaration-block-no-duplicate-properties": true,
|
|
"declaration-block-properties-order": "alphabetical",
|
|
"declaration-block-semicolon-newline-after": "always",
|
|
"block-closing-brace-newline-after": "always-single-line",
|
|
"block-closing-brace-newline-before": "always",
|
|
"block-no-single-line": true,
|
|
"block-opening-brace-newline-after": "always",
|
|
"selector-attribute-quotes": "always",
|
|
"selector-max-compound-selectors": 3,
|
|
"selector-no-attribute": true,
|
|
"selector-no-id": true,
|
|
"selector-no-universal": true,
|
|
"selector-pseudo-class-parentheses-space-inside": "always",
|
|
"selector-list-comma-newline-before": "never-multi-line",
|
|
"selector-list-comma-space-before": "always-single-line",
|
|
"media-feature-parentheses-space-inside": "always",
|
|
"at-rule-name-space-after": "always",
|
|
"at-rule-no-unknown": [true, {
|
|
"ignoreAtRules": [
|
|
"/mixin|for/",
|
|
""
|
|
]
|
|
}],
|
|
"max-nesting-depth": 3,
|
|
"no-descending-specificity": true,
|
|
"no-duplicate-selectors": true,
|
|
"no-unknown-animations": true,
|
|
"custom-property-empty-line-before": null,
|
|
"selector-pseudo-class-no-unknown": [true, {
|
|
"ignorePseudoClasses": ["global", "$"]
|
|
}]
|
|
}
|
|
}
|