Add tslint
This commit is contained in:
		
				
					committed by
					
						 Kim Biesbjerg
						Kim Biesbjerg
					
				
			
			
				
	
			
			
			
						parent
						
							14972efec2
						
					
				
				
					commit
					691d89184e
				
			
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							| @@ -14,7 +14,8 @@ | ||||
|   "scripts": { | ||||
|     "build": "npm run clean && tsc", | ||||
|     "watch": "npm run clean && tsc --watch", | ||||
|     "clean": "rm -rf ./dist" | ||||
|     "clean": "rm -rf ./dist", | ||||
|     "lint": "tslint --force './src/**/*.ts'" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
| @@ -40,11 +41,14 @@ | ||||
|   }, | ||||
|   "config": {}, | ||||
|   "devDependencies": { | ||||
|     "typescript": "~2.0.10" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@types/cheerio": "^0.17.31", | ||||
|     "@types/glob": "^5.0.30", | ||||
|     "@types/lodash": "^4.14.41", | ||||
|     "tslint": "^4.0.2", | ||||
|     "tslint-eslint-rules": "^3.1.0", | ||||
|     "typescript": "^2.0.10" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "cheerio": "~0.22.0", | ||||
|     "cli": "^1.0.1", | ||||
|     "fs": "0.0.1-security", | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| { | ||||
|     "compilerOptions": { | ||||
|         "allowSyntheticDefaultImports": true, | ||||
|         "noUnusedLocals": true, | ||||
|         "declaration": true, | ||||
|         "target": "ES6", | ||||
|         "module": "commonjs", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user