Skip to content

Commit 741af41

Browse files
committed
feat: lint css
starting with a few files
1 parent 242ae75 commit 741af41

11 files changed

Lines changed: 2940 additions & 239 deletions

File tree

.stylelintrc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"extends": "stylelint-config-standard",
3+
"overrides": [{
4+
"customSyntax": "@linaria/postcss-linaria",
5+
"files": ["*.js", "src/**/*.js"]
6+
}],
7+
"rules": {
8+
"block-closing-brace-newline-after": "always",
9+
"block-closing-brace-newline-before": "always",
10+
"block-opening-brace-newline-after": "always",
11+
"color-hex-case": "upper",
12+
"comment-empty-line-before": null,
13+
"declaration-block-semicolon-newline-after": "always",
14+
"declaration-block-trailing-semicolon": "always",
15+
"function-comma-space-after": "always",
16+
"function-comma-space-before": "never",
17+
"no-invalid-double-slash-comments": null,
18+
"rule-empty-line-before": null,
19+
"selector-class-pattern": null,
20+
"selector-type-no-unknown": [true, {
21+
"ignoreTypes": ["extended"]
22+
}],
23+
"selector-id-pattern": null,
24+
"string-quotes": "single"
25+
}
26+
}

0 commit comments

Comments
 (0)