Skip to content

Commit

Permalink
feat: update stylelint config
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Jan 26, 2022
1 parent bc12e0b commit e7d1173
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
extends: [
'stylelint-config-standard',
'stylelint-config-prettier',
'stylelint-config-standard-scss',
'stylelint-config-html',
'stylelint-config-recommended-vue',
],
// add your custom config here
// https://stylelint.io/user-guide/configuration
rules: {},
rules: {
'scss/at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'tailwind',
'apply',
'variants',
'responsive',
'screen',
],
},
],
'declaration-block-trailing-semicolon': null,
'no-descending-specificity': null,
'color-no-invalid-hex': true,
'property-no-unknown': [
true,
{
ignoreProperties: ['font-named-instance'],
},
],
},
};

0 comments on commit e7d1173

Please sign in to comment.