feat: stylint
This commit is contained in:
parent
3e8987666d
commit
0cccbcc7e0
45
.stylintrc
Normal file
45
.stylintrc
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"blocks": false,
|
||||
"brackets": "never",
|
||||
"colons": false,
|
||||
"colors": "never",
|
||||
"commaSpace": false,
|
||||
"commentSpace": "never",
|
||||
"cssLiteral": "never",
|
||||
"customProperties": [],
|
||||
"depthLimit": false,
|
||||
"duplicates": false,
|
||||
"efficient": false,
|
||||
"exclude": [],
|
||||
"extendPref": false,
|
||||
"globalDupe": false,
|
||||
"groupOutputByFile": false,
|
||||
"indentPref": false,
|
||||
"leadingZero": "never",
|
||||
"maxErrors": false,
|
||||
"maxWarnings": false,
|
||||
"mixed": false,
|
||||
"mixins": [],
|
||||
"namingConvention": "lowercase-dash",
|
||||
"namingConventionStrict": false,
|
||||
"none": "never",
|
||||
"noImportant": false,
|
||||
"parenSpace": false,
|
||||
"placeholders": "always",
|
||||
"prefixVarsWithDollar": "always",
|
||||
"quotePref": false,
|
||||
"reporterOptions": {
|
||||
"columns": ["lineData", "severity", "description", "rule"],
|
||||
"columnSplitter": " ",
|
||||
"showHeaders": false,
|
||||
"truncate": false
|
||||
},
|
||||
"semicolons": "never",
|
||||
"sortOrder": "never",
|
||||
"stackedProperties": false,
|
||||
"trailingWhitespace": "never",
|
||||
"universal": false,
|
||||
"valid": false,
|
||||
"zeroUnits": "never",
|
||||
"zIndexNormalize": false
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"test": "echo \"---test start---\""
|
||||
"test": "stylint source/css/style.styl -c .stylintrc"
|
||||
},
|
||||
"keywords": [
|
||||
"ayer",
|
||||
|
Loading…
Reference in New Issue
Block a user