Skip to content

Commit

Permalink
refactor: remove required named-argument (#230)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Aug 8, 2024
1 parent d93109e commit 15cc6da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,16 +252,6 @@ This is a list of the lints turned on in this configuration, and what they do.
- [`scss/at-each-key-value-single-line`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-each-key-value-single-line):
Each key value in the `@each` rule must be on a separate line.
- [`scss/at-function-named-arguments`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-function-named-arguments):
Require named parameters in **SCSS** function call rule.
> Ignore: `single-argument`.
- [`scss/at-mixin-named-arguments`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-mixin-named-arguments):
Require named parameters in **at-mixin** call rule.
> Ignore: `single-argument`.
- [`scss/at-root-no-redundant`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-root-no-redundant):
Disallow redundant `@at-root` rule.
Expand Down
4 changes: 0 additions & 4 deletions src/entities/rules/scss.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
const namedArguments = ['always', { ignore: ['single-argument'] }];

const SCSSRules = {
'scss/at-each-key-value-single-line': true,
'scss/at-function-named-arguments': namedArguments,
'scss/at-mixin-named-arguments': namedArguments,
'scss/at-root-no-redundant': true,
'scss/at-use-no-redundant-alias': true,
'scss/comment-no-loud': true,
Expand Down

0 comments on commit 15cc6da

Please sign in to comment.