Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@n8io
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n8io/471fc3403ea3f4e002a2 to your computer and use it in GitHub Desktop.
Save n8io/471fc3403ea3f4e002a2 to your computer and use it in GitHub Desktop.
A sample config file for the Stylint (Stylus) linter
{
"blocks": false,
"brackets": {
"error": true,
"expect": "never"
},
"colons": {
"error": true,
"expect": "never"
},
"colors": {
"error": true,
"expect": "always"
},
"commaSpace": {
"error": true,
"expect": "always"
},
"commentSpace": {
"error": true,
"expect": "always"
},
"cssLiteral": {
"error": true,
"expect": "never"
},
"depthLimit": {
"error": false,
"expect": 3
},
"duplicates": true,
"efficient": "always",
"extendPref": false,
"globalDupe": false,
"indentPref": 2,
"leadingZero": {
"error": true,
"expect": "always"
},
"maxErrors": 0,
"maxWarnings": false,
"mixed": true,
"namingConvention": "lowercase-dash",
"namingConventionStrict": false,
"noImportant": true,
"none": {
"error": true,
"expect": "never"
},
"parenSpace": false,
"placeholders": "always",
"prefixVarsWithDollar": {
"error": true,
"expect": "always"
},
"quotePref": {
"error": true,
"expect": "single"
},
"reporter": "../core/reporter",
"semicolons": {
"error": true,
"expect": "never"
},
"sortOrder": "grouped",
"stackedProperties": {
"error": true,
"expect": "never"
},
"trailingWhitespace": {
"error": true,
"expect": "never"
},
"universal": false,
"valid": true,
"zeroUnits": {
"error": true,
"expect": "never"
},
"zIndexNormalize": {
"error": true,
"expect": 10
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment