Add a lint command to perform fixes (#634)
* Update third party notices for mongodb-extended-json. * Add lint-fix command
This commit is contained in:
Родитель
66d1acd39f
Коммит
4236162db3
|
@ -790,6 +790,7 @@
|
||||||
"build": "tsc -p ./",
|
"build": "tsc -p ./",
|
||||||
"compile": "tsc -watch -p ./",
|
"compile": "tsc -watch -p ./",
|
||||||
"lint": "tslint --project tsconfig.json -t verbose",
|
"lint": "tslint --project tsconfig.json -t verbose",
|
||||||
|
"lint-fix": "tslint --project tsconfig.json -t verbose --fix",
|
||||||
"postinstall": "node ./node_modules/vscode/bin/install",
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
||||||
"test": "node ./node_modules/vscode/bin/test",
|
"test": "node ./node_modules/vscode/bin/test",
|
||||||
"antlr4ts": "antlr4ts -visitor ./grammar/mongo.g4 -o ./src/mongo/grammar"
|
"antlr4ts": "antlr4ts -visitor ./grammar/mongo.g4 -o ./src/mongo/grammar"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче