forked from decaporg/decap-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add editorconfig and stylelint rules (decaporg#21)
* add editorconfig and stylelint rules * put back markdownlint-cli
- Loading branch information
1 parent
13a174b
commit 338c847
Showing
4 changed files
with
1,299 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.js] | ||
quote_type = single | ||
spaces_around_operators = true | ||
|
||
[*.css] | ||
quote_type = single | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"processors": ["stylelint-processor-styled-components"], | ||
"extends": ["stylelint-config-standard-scss", "stylelint-config-styled-components"], | ||
"customSyntax": "postcss-scss", | ||
"rules": { | ||
"block-no-empty": null, | ||
"no-duplicate-selectors": null, | ||
"no-empty-source": null, | ||
"no-extra-semicolons": null, | ||
"declaration-empty-line-before": null, | ||
"string-quotes": null, | ||
"selector-class-pattern": null, | ||
"selector-pseudo-element-colon-notation": null, | ||
"rule-empty-line-before": null, | ||
"declaration-colon-newline-after": null, | ||
"at-rule-empty-line-before": null, | ||
"alpha-value-notation": null, | ||
"color-function-notation": null, | ||
"keyframes-name-pattern": null, | ||
"value-list-comma-newline-after": null, | ||
"no-descending-specificity": null, | ||
"selector-type-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreTypes": ["$dummyValue"] | ||
} | ||
], | ||
"value-keyword-case": [ | ||
"lower", | ||
{ "ignoreKeywords": ["dummyValue"], "camelCaseSvgKeywords": true } | ||
] | ||
} | ||
} |
Oops, something went wrong.