Skip to content

Commit

Permalink
feat: stylelint update (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
quino0627 authored May 16, 2024
1 parent 05999bb commit bf2b564
Show file tree
Hide file tree
Showing 3 changed files with 453 additions and 830 deletions.
33 changes: 12 additions & 21 deletions packages/stylelint-config/index.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
"use strict"
"use strict";

module.exports = {
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-standard",
"stylelint-config-styled-components",
"stylelint-config-recess-order",
extends: [
"stylelint-config-standard-scss",
"stylelint-config-clean-order/error",
"stylelint-config-prettier-scss",
],
"syntax": "scss",
"rules": {
"selector-type-case": null,
"value-keyword-case": null,
"comment-empty-line-before": null,
"declaration-empty-line-before": null,
"declaration-colon-newline-after": null,
"selector-type-no-unknown": [true, {
"ignore": ["custom-elements", "default-namespace"],
}],
"no-eol-whitespace": [true, {
"ignore": ["empty-lines"],
}],
},
}
overrides: [
{
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"],
customSyntax: "postcss-styled-syntax",
},
],
};
13 changes: 6 additions & 7 deletions packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,17 @@
"channelio"
],
"dependencies": {
"stylelint-config-recess-order": "^2.0.4",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0"
"postcss-styled-syntax": "^0.6.4",
"stylelint-config-clean-order": "^5.4.2",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-standard-scss": "^13.0.0"
},
"peerDependencies": {
"stylelint": ">=13.0.0",
"stylelint-processor-styled-components": ">=1.10.0"
"stylelint": ">=16.3.0"
},
"devDependencies": {
"husky": "^4.2.5",
"styled-components": "^5.1.1",
"stylelint": "^13.6.1"
"stylelint": "^16.3.0"
}
}
Loading

0 comments on commit bf2b564

Please sign in to comment.