SimenB/stylint

View on GitHub
.stylintrc

Summary

Maintainability
Test Coverage
{
  // testing stylintrc, real default is in core/
  "blocks": false,
  "brackets": false,
  "colons": "always",
  "colors": {
    "expect": "always"
  },
  "commaSpace": "always",
  "commentSpace": "always",
  "cssLiteral": "never",
  "depthLimit": 4,
  "duplicates": true,
  "efficient": "always",
  "exclude": [],
  "extendPref": false,
  "globalDupe": false,
  "groupOutputByFile": true,
  "indentPref": 2,
  "leadingZero": "never",
  "maxErrors": false,
  "maxWarnings": false,
  "mixed": true,
  "namingConvention": "lowercase-dash",
  "namingConventionStrict": true,
  "none": "always",
  "noImportant": true,
  "parenSpace": "always",
  "placeholders": "always",
  "prefixVarsWithDollar": "always",
  "quotePref": "single",
  "reporterOptions": {
    "columns": ["lineData", "severity", "description", "rule"],
    "columnSplitter": "  ",
    "showHeaders": false,
    "truncate": true
  },
  "semicolons": "always",
  "sortOrder": "alphabetical",
  "stackedProperties": "never",
  "trailingWhitespace": "never",
  "universal": "never",
  "valid": true,
  "zeroUnits": "never",
  "zIndexNormalize": false
}

// {
//     "blocks": false,
//     "brackets": "always",
//     "colons": "always",
//     "colors": "always",
//     "commaSpace": "always",
//     "commentSpace": false,
//     "cssLiteral": "never",
//     "depthLimit": 4,
//     "duplicates": true,
//     "efficient": "always",
//     "extendPref": "@extends",
//     "globalDupe": false,
//     "indentPref": 4,
//     "leadingZero": "always",
//     "maxErrors": 2,
//     "maxWarnings": 10,
//     "mixed": true,
//     "namingConvention": "BEM",
//     "namingConventionStrict": false,
//     "none": "never",
//     "noImportant": false,
//     "parenSpace": "never",
//     "placeholders": false,
//     "prefixVarsWithDollar": "always",
//     "quotePref": "double",
//     "semicolons": "always",
//     "sortOrder": [
//         "content",
//         "box-sizing",
//         "pointer-events",
//         "overflow",
//         "overflow-x",
//         "overflow-y",
//         "visibility",
//         "opacity",
//         "position",
//         "z-index",
//         "float",
//         "display",
//         "vertical-align",
//         "flex",
//         "flex-direction",
//         "justify-content",
//         "width",
//         "max-width",
//         "min-width",
//         "top",
//         "right",
//         "bottom",
//         "left",
//         "height",
//         "max-height",
//         "min-height",
//         "margin",
//         "margin-top",
//         "margin-right",
//         "margin-bottom",
//         "margin-left",
//         "border",
//         "border-top",
//         "border-right",
//         "border-bottom",
//         "border-left",
//         "border-width",
//         "border-style",
//         "border-color",
//         "border-spacing",
//         "border-collapse",
//         "border-radius",
//         "padding",
//         "padding-top",
//         "padding-right",
//         "padding-bottom",
//         "padding-left",
//         "background",
//         "background-color",
//         "background-image",
//         "background-size",
//         "background-repeat",
//         "clip",
//         "list-style",
//         "color",
//         "font",
//         "font-family",
//         "font-size",
//         "font-style",
//         "font-weight",
//         "font-stretch",
//         "line-height",
//         "letter-spacing",
//         "text-align",
//         "text-indent",
//         "text-transform",
//         "text-decoration",
//         "text-shadow",
//         "text-overflow",
//         "whitespace",
//         "outline",
//         "cursor",
//         "box-shadow",
//         "backface-visibility",
//         "will-change",
//         "transition",
//         "transform",
//         "animation"
//     ],
//     "stackedProperties": "prefer",
//     "trailingWhitespace": "never",
//     "universal": false,
//     "valid": true,
//     "zeroUnits": "never",
//     "zIndexNormalize": 10
// }

// {
//     // Comments - woooo
//     "blocks": "always",
//     "brackets": "always",
//     "colons": "always",
//     "colors": false,
//     "commaSpace": "always",
//     "commentSpace": "always",
//     "cssLiteral": "never",
//     "depthLimit": false,
//     "duplicates": true,
//     "efficient": "always",
//     "extendPref": false,
//     "globalDupe": true,
//     "indentPref": {
//         "expect": 2
//     },
//     "leadingZero": "always",
//     "maxErrors": false,
//     "maxWarnings": false,
//     "mixed": true,
//     "mixins": ["test-mixin", "mixin"],
//     "namingConvention": false,
//     "namingConventionStrict": false,
//     "none": "never",
//     "noImportant": true,
//     "parenSpace": false,
//     "placeholders": "always",
//     "prefixVarsWithDollar": "always",
//     "quotePref": false,
//     "reporter": "../core/reporter",
//     "semicolons": "always",
//     "sortOrder": "alphabetical",
//     "stackedProperties": "always",
//     "trailingWhitespace": "never",
//     "universal": false,
//     "valid": true,
//     "zeroUnits": "never",
//     "zIndexNormalize": false
// }