Skip to content

Commit

Permalink
Change color name rule
Browse files Browse the repository at this point in the history
Resolves #8
  • Loading branch information
kieranhall committed Jul 24, 2024
1 parent bf0d423 commit 2f4c3c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions __tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe("stylelint-config", () => {
width: 10px;
top: .2em;
max-width: initial;
color: white;
}
`).then((data) => {
expect(data).toHaveErrored();
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
"at-rule-no-unknown": null,
"block-no-empty": true,
"color-function-notation": null,
"color-named": "never",
"color-named": "always-where-possible",
"color-no-invalid-hex": true,
"comment-no-empty": null,
"custom-property-pattern": null,
Expand Down
4 changes: 2 additions & 2 deletions lib/config/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default as browsers } from "./browsers";
export { default as propertyOrder } from "./property-order";
export { default as browsers } from "./browsers.js";
export { default as propertyOrder } from "./property-order.js";

0 comments on commit 2f4c3c8

Please sign in to comment.