Skip to content

Commit

Permalink
refactor: use recommended approach for applying custom syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed May 15, 2024
1 parent f3108f5 commit 95144f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
customSyntax: 'postcss-styled-jsx',
overrides: [
{ files: '**/*.{js,jsx,ts,tsx}', customSyntax: 'postcss-styled-jsx' },
],
plugins: ['stylelint-use-logical'],
rules: {
'csstools/use-logical': [
Expand Down

0 comments on commit 95144f2

Please sign in to comment.