mirror of
https://github.com/material-components/material-web.git
synced 2024-10-28 06:28:12 +03:00
fix format check
This commit is contained in:
parent
c086377e9a
commit
cb0319fc43
@ -10,7 +10,7 @@
|
||||
"clean:scripts": "del-cli scripts/tsc-out",
|
||||
"dev": "es-dev-server --node-resolve --preserve-symlinks",
|
||||
"format": "clang-format --version; find . -name '*.ts' | grep -v node_modules | grep -v .d.ts | grep -v -- -css.ts | xargs clang-format -style=file -i",
|
||||
"format:check": "npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m Project is not formatted. Please run \"npm run format\".' && false)",
|
||||
"format:check": "npm run format && git diff --exit-code || (echo '\\033[31mERROR:\\033[0m Project is not formatted. Please run \"npm run format\".' && false)",
|
||||
"lint:imports": "node scripts/check-imports.js",
|
||||
"lint": "npm run lint:typescript && npm run lint:lit",
|
||||
"lint:fix": "npm run lint:typescript -- --fix && npm run lint:lit -- --fix",
|
||||
|
@ -23,8 +23,7 @@ import {ripple} from '@material/mwc-ripple/ripple-directive.js';
|
||||
import {html, property, query} from 'lit-element';
|
||||
|
||||
export class IconButtonToggleBase extends BaseElement {
|
||||
protected mdcFoundationClass =
|
||||
MDCIconButtonToggleFoundation;
|
||||
protected mdcFoundationClass = MDCIconButtonToggleFoundation;
|
||||
|
||||
protected mdcFoundation!: MDCIconButtonToggleFoundation;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user