Merge pull request #26 from n8n-io/apply-lintings-progressively
Apply lintings progressively
This commit is contained in:
		
				commit
				
					
						b11e4aa54f
					
				
			
		
					 4 changed files with 13385 additions and 5532 deletions
				
			
		|  | @ -25,6 +25,9 @@ module.exports = { | ||||||
| 			files: ['package.json'], | 			files: ['package.json'], | ||||||
| 			plugins: ['eslint-plugin-n8n-nodes-base'], | 			plugins: ['eslint-plugin-n8n-nodes-base'], | ||||||
| 			extends: ['plugin:n8n-nodes-base/community'], | 			extends: ['plugin:n8n-nodes-base/community'], | ||||||
|  | 			rules: { | ||||||
|  | 				'n8n-nodes-base/community-package-json-name-still-default': 'off', | ||||||
|  | 			} | ||||||
| 		}, | 		}, | ||||||
| 		{ | 		{ | ||||||
| 			files: ['./credentials/**/*.ts'], | 			files: ['./credentials/**/*.ts'], | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								.eslintrc.prepublish.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.eslintrc.prepublish.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | ||||||
|  | module.exports = { | ||||||
|  | 	extends: "./.eslintrc.js", | ||||||
|  | 	overrides: [ | ||||||
|  | 		{ | ||||||
|  | 			files: ['package.json'], | ||||||
|  | 			plugins: ['eslint-plugin-n8n-nodes-base'], | ||||||
|  | 			rules: { | ||||||
|  | 				'n8n-nodes-base/community-package-json-name-still-default': 'error', | ||||||
|  | 			}, | ||||||
|  | 		}, | ||||||
|  | 	], | ||||||
|  | }; | ||||||
							
								
								
									
										9418
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										9418
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							|  | @ -20,9 +20,9 @@ | ||||||
|     "build": "tsc && gulp build:icons", |     "build": "tsc && gulp build:icons", | ||||||
|     "dev": "tsc --watch", |     "dev": "tsc --watch", | ||||||
|     "format": "prettier nodes credentials --write", |     "format": "prettier nodes credentials --write", | ||||||
|     "lint": "tslint -p tsconfig.json -c tslint.json; eslint nodes credentials package.json", |     "lint": "tslint -p tsconfig.json -c tslint.json && eslint nodes credentials package.json", | ||||||
|     "lintfix": "tslint --fix -p tsconfig.json -c tslint.json; eslint nodes credentials package.json --fix", |     "lintfix": "tslint --fix -p tsconfig.json -c tslint.json && eslint nodes credentials package.json --fix", | ||||||
|     "prepare": "npm run build && npm run lint" |     "prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json" | ||||||
|   }, |   }, | ||||||
|   "files": [ |   "files": [ | ||||||
|     "dist" |     "dist" | ||||||
|  | @ -42,7 +42,7 @@ | ||||||
|     "@types/express": "^4.17.6", |     "@types/express": "^4.17.6", | ||||||
|     "@types/request-promise-native": "~1.0.15", |     "@types/request-promise-native": "~1.0.15", | ||||||
|     "@typescript-eslint/parser": "^5.29.0", |     "@typescript-eslint/parser": "^5.29.0", | ||||||
|     "eslint-plugin-n8n-nodes-base": "^1.5.1", |     "eslint-plugin-n8n-nodes-base": "^1.5.4", | ||||||
|     "gulp": "^4.0.2", |     "gulp": "^4.0.2", | ||||||
|     "n8n-core": "^0.125.0", |     "n8n-core": "^0.125.0", | ||||||
|     "n8n-workflow": "^0.107.0", |     "n8n-workflow": "^0.107.0", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue