generated from react-pakistan/react-native-icon-collection
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylelint.config.js
28 lines (27 loc) · 2.38 KB
/
stylelint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* eslint-disable no-multi-spaces, max-len */
module.exports = {
processors: [
'stylelint-processor-styled-components',
],
extends: [
'stylelint-config-recommended',
'stylelint-config-styled-components',
'stylelint-config-react-native-styled-components',
],
rules: {
'comment-no-empty': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/comment-no-empty/README.md
'declaration-block-no-duplicate-properties': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-block-no-duplicate-properties/README.md
'declaration-block-no-shorthand-property-overrides': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-block-no-shorthand-property-overrides/README.md
'declaration-colon-space-after': 'always', // https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-colon-space-after/README.md
'declaration-colon-space-before': 'never', // https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-colon-space-before/README.md
indentation: 2, // https://github.com/stylelint/stylelint/blob/master/lib/rules/indentation/README.md
linebreaks: 'unix', // https://github.com/stylelint/stylelint/blob/master/lib/rules/linebreaks/README.md
'max-empty-lines': 1, // https://github.com/stylelint/stylelint/blob/master/lib/rules/max-empty-lines/README.md
'max-line-length': 120, // https://github.com/stylelint/stylelint/blob/master/lib/rules/max-line-length/README.md
'no-empty-first-line': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/no-empty-first-line/README.md
'no-missing-end-of-source-newline': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/no-missing-end-of-source-newline/README.md
'property-no-unknown': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/property-no-unknown/README.md
'shorthand-property-no-redundant-values': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/shorthand-property-no-redundant-values/README.md
'unit-no-unknown': true, // https://github.com/stylelint/stylelint/blob/master/lib/rules/unit-no-unknown/README.md
},
};