/ stylelint.config.js
stylelint.config.js
 1  const path = require('path');
 2  
 3  module.exports = {
 4    extends: 'stylelint-config-standard',
 5    ignoreFiles: [path.resolve(__dirname, 'static', 'atom.less')],
 6    rules: {
 7      'color-hex-case': null, // TODO: enable?
 8      'max-empty-lines': null, // TODO: enable?
 9      'selector-type-no-unknown': null,
10      'function-comma-space-after': null, // TODO: enable?
11      'font-family-no-missing-generic-family-keyword': null, // needed for octicons (no sensible fallback)
12      'block-opening-brace-space-before': null,
13      'block-closing-brace-empty-line-before': null,
14      'declaration-colon-space-after': null,
15      'declaration-block-single-line-max-declarations': null,
16      'declaration-empty-line-before': null, // TODO: enable?
17      'declaration-block-trailing-semicolon': null, // TODO: enable
18      'no-descending-specificity': null,
19      'number-leading-zero': null, // TODO: enable?
20      'no-duplicate-selectors': null,
21      'selector-pseudo-element-colon-notation': null, // TODO: enable?
22      'selector-list-comma-newline-after': null, // TODO: enable?
23      'rule-empty-line-before': null, // TODO: enable?
24      'at-rule-empty-line-before': null, // TODO: enable?
25      'font-family-no-duplicate-names': null, // TODO: enable?
26      'unit-no-unknown': [true, { ignoreUnits: ['x'] }] // Needed for -webkit-image-set 1x/2x units
27    }
28  };