Skip to content

Commit

Permalink
added ECLINT ignore log file, and added script task to fix the TSLINT…
Browse files Browse the repository at this point in the history
… TypeScript language service, see angelozerr/tslint-language-service#44
  • Loading branch information
danielweck committed Jul 6, 2017
1 parent 4b40561 commit 70dc97c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,10 @@
"postbuild:es8-es2017": "npm run afterdist",
"clean": "rimraf ./dist && rimraf ./now && mkdirp ./dist",
"lint": "npm run lint:all && npm run lint:typescript:full",
"lint:all": "eclint check \"**/*\" \"!.git/**/*\" \"!node_modules/**/*\" \"!dist/**/*\" \"!misc/**/*\" \"!now/**/*\" \"!.vscode/**/*\" \"!**/.DS_Store\" \"!**/*.epub\" \"!**/*.cbz\" \"!**/*.jpg\" \"!**/*.jpeg\" \"!**/*.png\"",
"lint:all": "eclint check \"**/*\" \"!.git/**/*\" \"!node_modules/**/*\" \"!dist/**/*\" \"!misc/**/*\" \"!now/**/*\" \"!.vscode/**/*\" \"!**/.DS_Store\" \"!**/*.epub\" \"!**/*.cbz\" \"!**/*.jpg\" \"!**/*.jpeg\" \"!**/*.png\" \"!**/*.log\"",
"lint:typescript": "tslint -c \"./tslint.json\" \"./src/**/*.ts\" \"./test/**/*.ts\"",
"lint:typescript:full": "tslint --type-check --project \"./tsconfig.json\" -c \"./tslint.json\" \"./src/**/*.ts\" \"./test/**/*.ts\"",
"lintfix": "sed -i \"\" \"s/let normalizedPath = path\\.normalize(documentPath);/let normalizedPath = path.normalize(documentPath).toLowerCase();/g\" ./node_modules/tslint-language-service/out/src/index.js",
"pretranspile:typescript": "npm run clean",
"transpile:typescript": "tsc -p \"./tsconfig.json\"",
"pretranspile:typescript:all": "npm run clean",
Expand Down

0 comments on commit 70dc97c

Please sign in to comment.