-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix tests; remove deprecated stylelint-config-slds; added @stylistic/…
…stylelint-plugin; improve README;
- Loading branch information
1 parent
c37321b
commit 8aac80d
Showing
9 changed files
with
177 additions
and
135 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
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<checkstyle version="1.5"> | ||
<file name="noTestResults.css"> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaaaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="indentation" line="2" message="Expected indentation of 2 spaces (indentation)" severity="info" /> | ||
<error source="scale-unlimited/declaration-strict-value" line="2" message="Expected variable or function for "#aaaaaa" of "color" (scale-unlimited/declaration-strict-value)" severity="info" /> | ||
<error source="sh-waqar/declaration-use-variable" line="1" message="Unknown rule sh-waqar/declaration-use-variable." severity="info" /> | ||
</file> | ||
<file name="noTestResults.css"> | ||
<error source="no-missing-end-of-source-newline" line="1" message="Unknown rule no-missing-end-of-source-newline." severity="info" /> | ||
<error source="@stylistic/indentation" line="2" message="Expected indentation of 2 spaces (@stylistic/indentation)" severity="info" /> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaaaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="prettier/prettier" line="1" message="Delete "␍" (prettier/prettier)" severity="info" /> | ||
<error source="prettier/prettier" line="3" message="Delete "␍" (prettier/prettier)" severity="info" /> | ||
<error source="prettier/prettier" line="2" message="Replace "····color:·#aaaaaa;␍" with "··color:·#aaaaaa;" (prettier/prettier)" severity="info" /> | ||
</file> | ||
</checkstyle> |
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
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
{ | ||
"plugins": [ | ||
"@stylistic/stylelint-plugin" | ||
], | ||
"rules": { | ||
"color-hex-case": "lower" | ||
"@stylistic/color-hex-case": "lower" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,30 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<checkstyle version="1.5"> | ||
<file name="test1.css"> | ||
<error source="alpha-value-notation" line="15" message="Expected "0.2" to be "20%" (alpha-value-notation)" severity="info" /> | ||
<error source="color-function-notation" line="15" message="Expected modern color-function notation (color-function-notation)" severity="info" /> | ||
<error source="color-hex-case" line="2" message="Expected "#aaaAaa" to be "#aaaaaa" (color-hex-case)" severity="info" /> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaAaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="length-zero-no-unit" line="15" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="length-zero-no-unit" line="15" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="number-leading-zero" line="15" message="Unexpected leading zero (number-leading-zero)" severity="info" /> | ||
</file> | ||
<file name="test2.less"> | ||
<error source="alpha-value-notation" line="14" message="Expected "0.2" to be "20%" (alpha-value-notation)" severity="info" /> | ||
<error source="color-function-notation" line="14" message="Expected modern color-function notation (color-function-notation)" severity="info" /> | ||
<error source="color-hex-case" line="2" message="Expected "#aaaAaa" to be "#aaaaaa" (color-hex-case)" severity="info" /> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaAaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="number-leading-zero" line="14" message="Unexpected leading zero (number-leading-zero)" severity="info" /> | ||
</file> | ||
<file name="test3.scss"> | ||
<error source="alpha-value-notation" line="14" message="Expected "0.2" to be "20%" (alpha-value-notation)" severity="info" /> | ||
<error source="color-function-notation" line="14" message="Expected modern color-function notation (color-function-notation)" severity="info" /> | ||
<error source="color-hex-case" line="2" message="Expected "#aaaAaa" to be "#aaaaaa" (color-hex-case)" severity="info" /> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaAaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="number-leading-zero" line="14" message="Unexpected leading zero (number-leading-zero)" severity="info" /> | ||
</file> | ||
<file name="test1.css"> | ||
<error source="alpha-value-notation" line="15" message="Expected "0.2" to be "20%" (alpha-value-notation)" severity="info" /> | ||
<error source="color-function-notation" line="15" message="Expected modern color-function notation (color-function-notation)" severity="info" /> | ||
<error source="@stylistic/color-hex-case" line="2" message="Expected "#aaaAaa" to be "#aaaaaa" (@stylistic/color-hex-case)" severity="info" /> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaAaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="length-zero-no-unit" line="15" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="length-zero-no-unit" line="15" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="@stylistic/number-leading-zero" line="15" message="Unexpected leading zero (@stylistic/number-leading-zero)" severity="info" /> | ||
</file> | ||
<file name="test2.less"> | ||
<error source="alpha-value-notation" line="14" message="Expected "0.2" to be "20%" (alpha-value-notation)" severity="info" /> | ||
<error source="color-function-notation" line="14" message="Expected modern color-function notation (color-function-notation)" severity="info" /> | ||
<error source="@stylistic/color-hex-case" line="2" message="Expected "#aaaAaa" to be "#aaaaaa" (@stylistic/color-hex-case)" severity="info" /> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaAaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="@stylistic/number-leading-zero" line="14" message="Unexpected leading zero (@stylistic/number-leading-zero)" severity="info" /> | ||
</file> | ||
<file name="test3.scss"> | ||
<error source="alpha-value-notation" line="14" message="Expected "0.2" to be "20%" (alpha-value-notation)" severity="info" /> | ||
<error source="color-function-notation" line="14" message="Expected modern color-function notation (color-function-notation)" severity="info" /> | ||
<error source="@stylistic/color-hex-case" line="2" message="Expected "#aaaAaa" to be "#aaaaaa" (@stylistic/color-hex-case)" severity="info" /> | ||
<error source="color-hex-length" line="2" message="Expected "#aaaAaa" to be "#aaa" (color-hex-length)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="length-zero-no-unit" line="14" message="Unexpected unit (length-zero-no-unit)" severity="info" /> | ||
<error source="@stylistic/number-leading-zero" line="14" message="Unexpected leading zero (@stylistic/number-leading-zero)" severity="info" /> | ||
</file> | ||
</checkstyle> |
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
Oops, something went wrong.