lint
This commit is contained in:
parent
806ca5028a
commit
97519b2307
|
@ -22,7 +22,7 @@ export default class Module {
|
||||||
args
|
args
|
||||||
};
|
};
|
||||||
this.setState = this.setState.bind(this);
|
this.setState = this.setState.bind(this);
|
||||||
|
|
||||||
if (this.delay) { // If delay is set then module is set to load delayed from modulemanager
|
if (this.delay) { // If delay is set then module is set to load delayed from modulemanager
|
||||||
this.initialize = this.initialize.bind(this);
|
this.initialize = this.initialize.bind(this);
|
||||||
this.init = this.initialize;
|
this.init = this.initialize;
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
"watch_csseditor": "npm run watch --prefix csseditor",
|
"watch_csseditor": "npm run watch --prefix csseditor",
|
||||||
"build_editor": "npm run build --prefix editor",
|
"build_editor": "npm run build --prefix editor",
|
||||||
"watch_editor": "npm run watch --prefix editor",
|
"watch_editor": "npm run watch --prefix editor",
|
||||||
"lint": "eslint -f unix client/src core/src csseditor/src common && npm run sasslint",
|
"lint": "eslint -f unix client/src core/src editor/src common && npm run sasslint",
|
||||||
"lint_fix": "eslint -f unix client/src core/src csseditor/src common --fix",
|
"lint_fix": "eslint -f unix client/src core/src csseditor/src common --fix",
|
||||||
"sasslint": "sass-lint client/src/styles/**/*.scss -v",
|
"sasslint": "sass-lint client/src/styles/**/*.scss -v",
|
||||||
"test": "npm run build && npm run lint",
|
"test": "npm run build && npm run lint",
|
||||||
|
|
Loading…
Reference in New Issue