Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Aug 30, 2023
1 parent a966803 commit e5103a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 316 deletions.
37 changes: 1 addition & 36 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"./tools/stylelint/no-nested-mixin.ts",
"./tools/stylelint/no-concrete-rules.ts",
"./tools/stylelint/no-top-level-ampersand-in-mixin.ts",
"./tools/stylelint/theme-mixin-api.ts",
"./tools/stylelint/no-import.ts",
"./tools/stylelint/single-line-comment-only.ts",
"./tools/stylelint/no-unused-import.ts",
Expand All @@ -33,7 +32,6 @@
"filePattern": "**/!(*-example.css)"
}
],
"material/theme-mixin-api": true,
"material/selector-no-deep": true,
"material/no-nested-mixin": true,
"material/no-unused-import": true,
Expand Down Expand Up @@ -143,38 +141,5 @@
"resolveNestedSelectors": true
}
]
},
"overrides": [
{
"files": [
"**/_button-theme.scss",
"**/_card-theme.scss",
"**/_checkbox-theme.scss",
"**/_column-resize-theme.scss",
"**/_core-theme.scss",
"**/_datepicker-theme.scss",
"**/_fab-theme.scss",
"**/_form-field-theme.scss",
"**/_icon-button-theme.scss",
"**/_input-theme.scss",
"**/_list-theme.scss",
"**/_optgroup-theme.scss",
"**/_option-theme.scss",
"**/_paginator-theme.scss",
"**/_popover-edit-theme.scss",
"**/_progress-bar-theme.scss",
"**/_pseudo-checkbox-theme.scss",
"**/_radio-theme.scss",
"**/_ripple-theme.scss",
"**/_slide-toggle-theme.scss",
"**/_slider-theme.scss",
"**/_sort-theme.scss",
"**/_stepper-theme.scss",
"**/_tree-theme.scss"
],
"rules": {
"material/theme-mixin-api": false
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
@use './private';

// stylelint-disable-next-line material/theme-mixin-api
@mixin color($theme) {
@include private.strong-focus-indicators-color($theme);
@include private.mdc-strong-focus-indicators-color($theme);
}

// stylelint-disable-next-line material/theme-mixin-api
@mixin theme($theme) {
@include private.strong-focus-indicators-theme($theme);
@include private.mdc-strong-focus-indicators-theme($theme);
Expand Down
278 changes: 0 additions & 278 deletions tools/stylelint/theme-mixin-api.ts

This file was deleted.

0 comments on commit e5103a2

Please sign in to comment.