Skip to content

Commit 1e54f54

Browse files
committed
use @nextcloud/stylelint-config, update and simple
1 parent 6ba7608 commit 1e54f54

File tree

4 files changed

+1774
-659
lines changed

4 files changed

+1774
-659
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
uses: actions/checkout@v2
1515
- name: Set up Node
1616
uses: actions/setup-node@v2
17+
with:
18+
node-version: '16'
1719
- name: Set up Stylelint Problem Matcher
1820
uses: xt0rted/stylelint-problem-matcher@v1
1921
- name: Install Dependencies

.stylelintrc.js

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1 @@
1-
module.exports = {
2-
extends: 'stylelint-config-recommended-scss',
3-
rules: {
4-
indentation: 'tab',
5-
'selector-type-no-unknown': null,
6-
'number-leading-zero': null,
7-
'rule-empty-line-before': [
8-
'always',
9-
{
10-
ignore: ['after-comment', 'inside-block']
11-
}
12-
],
13-
'declaration-empty-line-before': [
14-
'never',
15-
{
16-
ignore: ['after-declaration']
17-
}
18-
],
19-
'comment-empty-line-before': null,
20-
'selector-type-case': null,
21-
'selector-list-comma-newline-after': null,
22-
'no-descending-specificity': null,
23-
'string-quotes': 'single'
24-
},
25-
plugins: ['stylelint-scss']
26-
}
1+
module.exports = require('@nextcloud/stylelint-config')

0 commit comments

Comments
 (0)