1
1
mirror of https://github.com/primer/css.git synced 2024-12-04 14:59:16 +03:00
css/stylelint.config.cjs

17 lines
510 B
JavaScript
Raw Normal View History

module.exports = {
extends: ['@primer/stylelint-config'],
plugins: ['stylelint-scss'],
syntax: 'scss',
2021-04-07 19:08:38 +03:00
ignoreFiles: ['src/fonts/**/*'],
rules: {
'scss/dollar-variable-default': [true, {ignore: 'local'}],
2019-10-15 02:24:34 +03:00
'primer/no-override': false,
'primer/colors': true,
2019-10-31 08:00:41 +03:00
'primer/borders': true,
2019-10-31 08:08:48 +03:00
'primer/spacing': true,
'primer/typography': true,
2019-10-31 08:10:42 +03:00
'primer/box-shadow': true,
'primer/no-undefined-vars': [true, {files: 'node_modules/@primer/primitives/dist/scss/colors*/*.scss'}]
}
}