Skip to content

Commit

Permalink
feat(stylelint-config-triple): customSyntax 변경
Browse files Browse the repository at this point in the history
fix(stylelint-config-triple): require customSyntax
  • Loading branch information
drakang4 committed Feb 14, 2023
1 parent 2995745 commit c3bfb3d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 24 deletions.
37 changes: 16 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/stylelint-config-triple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"homepage": "https://github.com/titicacadev/eslint-config-triple",
"dependencies": {
"@stylelint/postcss-css-in-js": "0.38.0",
"postcss-styled-syntax": "^0.3.1",
"stylelint-config-prettier": "9.0.4",
"stylelint-config-standard": "29.0.0",
"stylelint-config-styled-components": "0.1.1"
Expand All @@ -26,6 +26,6 @@
"stylelint": "^14.16.1"
},
"peerDependencies": {
"stylelint": "^14.14.0"
"stylelint": "^14.14.0 || ^15.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/stylelint-config-triple/stylelint.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
overrides: [
{
files: ['**/*.{js,ts,tsx}'],
customSyntax: '@stylelint/postcss-css-in-js',
customSyntax: require('postcss-styled-syntax'),
rules: {
// https://github.com/styled-components/stylelint-config-styled-components/blob/master/index.js
'value-no-vendor-prefix': true,
Expand Down

0 comments on commit c3bfb3d

Please sign in to comment.