mirror of
https://github.com/material-components/material-web.git
synced 2024-11-11 06:10:17 +03:00
update eslint plugins
This commit is contained in:
parent
79c7fd3902
commit
4682f2aa14
@ -13,6 +13,9 @@ plugins:
|
||||
parserOptions:
|
||||
ecmaVersion: 2017
|
||||
sourceType: module
|
||||
settings:
|
||||
wc:
|
||||
elementBaseClasses: ["BaseElement"]
|
||||
rules:
|
||||
indent: [warn, 2]
|
||||
max-len: [warn, 120]
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -6540,9 +6540,9 @@
|
||||
}
|
||||
},
|
||||
"eslint-plugin-wc": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-wc/-/eslint-plugin-wc-1.1.1.tgz",
|
||||
"integrity": "sha512-9qwM/jXSDQ0ip14D49Ip0uQmZtsLive9VqF5tmRnmzpSI4CvAmaSIK0oYXihBA5ssIG4u4S8G3eb3HaK+7qveQ==",
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-wc/-/eslint-plugin-wc-1.2.0.tgz",
|
||||
"integrity": "sha512-p1Vv8GkiTS8ZNfsmWvNJfKsGwsfCDteo2QsFE53x5DuHN7YDVf36II46DauP3mBCQ9pZnYD8lZyl/uz3qBtwQw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"js-levenshtein-esm": "^1.2.0",
|
||||
|
@ -42,7 +42,7 @@
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-config-google": "^0.13.0",
|
||||
"eslint-plugin-mocha": "^5.3.0",
|
||||
"eslint-plugin-wc": "^1.1.1",
|
||||
"eslint-plugin-wc": "^1.2.0",
|
||||
"glob": "^7.1.1",
|
||||
"karma": "^4.0.1",
|
||||
"karma-chai": "^0.1.0",
|
||||
|
@ -88,8 +88,8 @@ export class TabBase extends BaseElement {
|
||||
|
||||
static styles = style;
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
firstUpdated() {
|
||||
super.firstUpdated();
|
||||
// create an unique id
|
||||
this.id = this.id || `mdc-tab-${++tabIdCounter}`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user