Normalize and enforce single quotes in styles
- Replace stylelint property in package.json with .stylelintrc.js - Add string-quotes stylelint rule - Fix quotes
This commit is contained in:
29
.stylelintrc.js
Normal file
29
.stylelintrc.js
Normal file
@@ -0,0 +1,29 @@
|
||||
module.exports = {
|
||||
'extends': 'stylelint-config-standard',
|
||||
'rules': {
|
||||
'no-empty-source': null,
|
||||
'string-quotes': 'single',
|
||||
'at-rule-no-unknown': [
|
||||
true,
|
||||
{
|
||||
'ignoreAtRules': [
|
||||
'extend',
|
||||
'at-root',
|
||||
'debug',
|
||||
'warn',
|
||||
'error',
|
||||
'if',
|
||||
'else',
|
||||
'for',
|
||||
'each',
|
||||
'while',
|
||||
'mixin',
|
||||
'include',
|
||||
'content',
|
||||
'return',
|
||||
'function',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user