Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: updated linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 15, 2018
1 parent 366f6af commit e4cc5eb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@dxcli/dev": "^1.1.2",
"@dxcli/dev-semantic-release": "^0.0.3",
"@dxcli/dev-test": "^0.0.1",
"@dxcli/dev-tslint": "^0.0.7",
"@dxcli/dev-tslint": "^0.0.8",
"@heroku/linewrap": "^1.0.0",
"@types/chalk": "^2.2.0",
"@types/node": "^9.3.0",
Expand Down
6 changes: 3 additions & 3 deletions src/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export interface ParserInput {
}

export class Parser {
private argv: string[]
private raw: ParsingToken[] = []
private booleanFlags: { [k: string]: Flags.IBooleanFlag }
private readonly argv: string[]
private readonly raw: ParsingToken[] = []
private readonly booleanFlags: { [k: string]: Flags.IBooleanFlag }
constructor(readonly input: ParserInput) {
this.argv = input.argv.slice(0)
this._setNames()
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@
strip-ansi "^4.0.0"
ts-node "^4.1.0"

"@dxcli/dev-tslint@^0.0.7":
version "0.0.7"
resolved "https://registry.yarnpkg.com/@dxcli/dev-tslint/-/dev-tslint-0.0.7.tgz#870b78210ec96771d7cd95090d9cac87cd76cbb2"
"@dxcli/dev-tslint@^0.0.8":
version "0.0.8"
resolved "https://registry.yarnpkg.com/@dxcli/dev-tslint/-/dev-tslint-0.0.8.tgz#f07750d0152b26764b43fd99110076db87b4a22e"
dependencies:
tslint "^5.9.1"
tslint-xo "^0.4.0"
tslint-xo "^0.5.0"

"@dxcli/dev@^1.1.2":
version "1.1.2"
Expand Down Expand Up @@ -4165,9 +4165,9 @@ tslint-microsoft-contrib@^5.0.1:
dependencies:
tsutils "^2.12.1"

tslint-xo@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/tslint-xo/-/tslint-xo-0.4.0.tgz#7cbdfc933ff60d88449c64142e3e060e6432e734"
tslint-xo@^0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/tslint-xo/-/tslint-xo-0.5.0.tgz#56e591dcd2731de35e7462a0dfa1214731ba9f27"
dependencies:
tslint-consistent-codestyle "^1.11.0"
tslint-eslint-rules "^4.1.1"
Expand Down

0 comments on commit e4cc5eb

Please sign in to comment.