mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 02:02:14 +01:00 
			
		
		
		
	Don't run linter on tests for now
We previously ignored this whole directory, and it's a bit of wishful thinking that we'll have these delinted as a result. Switching to Jest should fix most of the problems anyways, so we can enable the linter when we get there.
This commit is contained in:
		
							parent
							
								
									f73d2bae1f
								
							
						
					
					
						commit
						3b688aaeb8
					
				@ -52,7 +52,7 @@
 | 
				
			|||||||
    "start:js": "webpack-dev-server --host=0.0.0.0 --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --progress --mode development",
 | 
					    "start:js": "webpack-dev-server --host=0.0.0.0 --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --progress --mode development",
 | 
				
			||||||
    "electron": "yarn build && yarn install:electron && electron .",
 | 
					    "electron": "yarn build && yarn install:electron && electron .",
 | 
				
			||||||
    "lint": "yarn lint:types && yarn lint:ts && yarn lint:js && yarn lint:style",
 | 
					    "lint": "yarn lint:types && yarn lint:ts && yarn lint:js && yarn lint:style",
 | 
				
			||||||
    "lint:js": "eslint src test",
 | 
					    "lint:js": "eslint src",
 | 
				
			||||||
    "lint:ts": "echo 'We don't actually have a typescript linter at this layer because tslint is being removed from our stack. Presumably your TS is fine.'",
 | 
					    "lint:ts": "echo 'We don't actually have a typescript linter at this layer because tslint is being removed from our stack. Presumably your TS is fine.'",
 | 
				
			||||||
    "lint:types": "tsc --noEmit",
 | 
					    "lint:types": "tsc --noEmit",
 | 
				
			||||||
    "lint:style": "stylelint 'res/css/**/*.scss'",
 | 
					    "lint:style": "stylelint 'res/css/**/*.scss'",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user