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:
Rhys Braunschweig
2018-05-29 12:12:21 +02:00
parent 9040a3dc75
commit 248c569bff
6 changed files with 49 additions and 48 deletions

29
.stylelintrc.js Normal file
View 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',
],
},
],
},
};