tslint: Remove ignore pattern from no-unused-variable and fix the rule break
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import { assertUInt8 } from '../assert';
|
|
||||||
import { Serializable } from '../Serializable';
|
import { Serializable } from '../Serializable';
|
||||||
import { UhkBuffer } from '../UhkBuffer';
|
import { UhkBuffer } from '../UhkBuffer';
|
||||||
import { Layers } from './Layers';
|
import { Layers } from './Layers';
|
||||||
|
|||||||
@@ -21,10 +21,7 @@
|
|||||||
"no-unused-expression": true,
|
"no-unused-expression": true,
|
||||||
"no-unused-variable": [
|
"no-unused-variable": [
|
||||||
true,
|
true,
|
||||||
"check-parameters",
|
"check-parameters"
|
||||||
{
|
|
||||||
"ignore-pattern": "assert.*|keyActionType"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"no-use-before-declare": true,
|
"no-use-before-declare": true,
|
||||||
"no-var-keyword": true,
|
"no-var-keyword": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user