Skip to content

Commit

Permalink
use @nextcloud/stylelint-config, update and simple
Browse files Browse the repository at this point in the history
  • Loading branch information
korelstar committed Jun 26, 2021
1 parent d9ae437 commit e56688e
Show file tree
Hide file tree
Showing 4 changed files with 1,774 additions and 659 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Set up Stylelint Problem Matcher
uses: xt0rted/stylelint-problem-matcher@v1
- name: Install Dependencies
Expand Down
27 changes: 1 addition & 26 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
module.exports = {
extends: 'stylelint-config-recommended-scss',
rules: {
indentation: 'tab',
'selector-type-no-unknown': null,
'number-leading-zero': null,
'rule-empty-line-before': [
'always',
{
ignore: ['after-comment', 'inside-block']
}
],
'declaration-empty-line-before': [
'never',
{
ignore: ['after-declaration']
}
],
'comment-empty-line-before': null,
'selector-type-case': null,
'selector-list-comma-newline-after': null,
'no-descending-specificity': null,
'string-quotes': 'single'
},
plugins: ['stylelint-scss']
}
module.exports = require('@nextcloud/stylelint-config')
Loading

0 comments on commit e56688e

Please sign in to comment.