Update tslint to 4.x.x

Closes #166
This commit is contained in:
Farkas József
2016-12-16 22:13:05 +01:00
parent 4a05f5ee7b
commit 8d4ecb75c7
4 changed files with 3 additions and 9 deletions

View File

@@ -23,7 +23,7 @@
"sass-loader": "^4.1.0", "sass-loader": "^4.1.0",
"stylelint": "^7.0.3", "stylelint": "^7.0.3",
"ts-loader": "^1.3.2", "ts-loader": "^1.3.2",
"tslint": "3.15.1", "tslint": "~4.1.1",
"webpack": "^1.14.0", "webpack": "^1.14.0",
"webpack-dev-server": "^1.16.2", "webpack-dev-server": "^1.16.2",
"webpack-fail-plugin": "^1.0.5", "webpack-fail-plugin": "^1.0.5",

View File

@@ -4,6 +4,7 @@ import {
} from '@angular/core'; } from '@angular/core';
import { Store } from '@ngrx/store'; import { Store } from '@ngrx/store';
import { Observable } from 'rxjs/Observable';
import { import {
KeyAction, KeyAction,
@@ -19,7 +20,6 @@ import { Tab } from './tab/tab';
import { AppState } from '../../store'; import { AppState } from '../../store';
import { getKeymapEntities } from '../../store/reducers'; import { getKeymapEntities } from '../../store/reducers';
import { Observable } from 'rxjs/Observable';
enum TabName { enum TabName {
Keypress, Keypress,

View File

@@ -7,7 +7,7 @@ import { KeyAction, KeyActionId, keyActionType } from './KeyAction';
export enum KeystrokeActionFlag { export enum KeystrokeActionFlag {
scancode = 1 << 0, scancode = 1 << 0,
modifierMask = 1 << 1, modifierMask = 1 << 1,
longPressAction = 1 << 2, longPressAction = 1 << 2
} }
interface JsonObjectKeystrokeAction { interface JsonObjectKeystrokeAction {

View File

@@ -11,18 +11,12 @@
"class-name": true, "class-name": true,
"curly": true, "curly": true,
"no-construct": true, "no-construct": true,
"no-duplicate-key": true,
"no-duplicate-variable": true, "no-duplicate-variable": true,
"no-eval": true, "no-eval": true,
"no-null-keyword": true, "no-null-keyword": true,
"no-shadowed-variable": true, "no-shadowed-variable": true,
"no-switch-case-fall-through": true, "no-switch-case-fall-through": true,
"no-unreachable": true,
"no-unused-expression": true, "no-unused-expression": true,
"no-unused-variable": [
true,
"check-parameters"
],
"no-use-before-declare": true, "no-use-before-declare": true,
"no-var-keyword": true, "no-var-keyword": true,
"radix": true, "radix": true,