Skip to content

Commit

Permalink
refactor(lint): disable color-function-notation stylelint rule (#10905)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript authored Apr 6, 2023
1 parent dca65e4 commit fc122e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/lint/src/config/stylelint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ module.exports = {
message: 'Expected class selector to be kebab-case or lowerCamelCase',
},
],
// to avoid conflicts with less option { math: always }
// ref: https://github.com/less/less-docs/blob/c8b9d33b0b4ec5fe59a4bbda11db202545741228/content/usage/less-options.md#math
'color-function-notation': null,
},
customSyntax: require.resolve('../../../compiled/postcss-less'),
ignoreFiles: ['node_modules'],
Expand Down

0 comments on commit fc122e7

Please sign in to comment.