fix: lintが動かないのを修正, swもlint
This commit is contained in:
		
							parent
							
								
									8b961ba035
								
							
						
					
					
						commit
						83e1d53928
					
				
					 5 changed files with 15 additions and 8 deletions
				
			
		|  | @ -6,10 +6,10 @@ module.exports = { | |||
| 	parserOptions: { | ||||
| 		"parser": "@typescript-eslint/parser", | ||||
| 		tsconfigRootDir: __dirname, | ||||
| 		//project: ['./tsconfig.json'],
 | ||||
| 		project: ['./tsconfig.json'], | ||||
| 	}, | ||||
| 	extends: [ | ||||
| 		//"../shared/.eslintrc.js",
 | ||||
| 		"../shared/.eslintrc.js", | ||||
| 	], | ||||
| 	globals: { | ||||
| 		"require": false, | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ | |||
| 	"scripts": { | ||||
| 		"watch": "node build.js watch", | ||||
| 		"build": "node build.js", | ||||
| 		"lint": "eslint --quiet src/**/*.{ts}" | ||||
| 		"lint": "eslint --quiet src/**/*.ts" | ||||
| 	}, | ||||
| 	"dependencies": { | ||||
| 		"esbuild": "^0.14.42", | ||||
|  | @ -12,6 +12,8 @@ | |||
| 		"misskey-js": "0.0.14" | ||||
| 	}, | ||||
| 	"devDependencies": { | ||||
| 		"eslint": "^8.16.0" | ||||
| 		"@typescript-eslint/parser": "^5.45.0", | ||||
| 		"eslint": "^8.16.0", | ||||
| 		"eslint-plugin-import": "^2.26.0" | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue