Merge branch 'develop' into enh-15290
This commit is contained in:
		
						commit
						d9d0494c10
					
				|  | @ -50,13 +50,36 @@ export default [ | |||
| 			// defineExposeが誤検知されてしまう
 | ||||
| 			'@typescript-eslint/no-unused-expressions': 'off', | ||||
| 			'import/consistent-type-specifier-style': ['error', 'prefer-top-level'], | ||||
| 			// window の禁止理由: グローバルスコープと衝突し、予期せぬ結果を招くため
 | ||||
| 			// e の禁止理由: error や event など、複数のキーワードの頭文字であり分かりにくいため
 | ||||
| 			// window ... グローバルスコープと衝突し、予期せぬ結果を招くため
 | ||||
| 			// e ... error や event など、複数のキーワードの頭文字であり分かりにくいため
 | ||||
| 			// close ... window.closeと衝突 or 紛らわしい
 | ||||
| 			// open ... window.openと衝突 or 紛らわしい
 | ||||
| 			// fetch ... window.fetchと衝突 or 紛らわしい
 | ||||
| 			// location ... window.locationと衝突 or 紛らわしい
 | ||||
| 			'id-denylist': ['error', 'window', 'e', 'close', 'open', 'fetch', 'location'], | ||||
| 			'id-denylist': ['warn', 'window', 'e', 'close', 'open', 'fetch', 'location'], | ||||
| 			'no-restricted-globals': [ | ||||
| 				'error', | ||||
| 				{ | ||||
| 					'name': 'open', | ||||
| 					'message': 'Use `window.open`.', | ||||
| 				}, | ||||
| 				{ | ||||
| 					'name': 'close', | ||||
| 					'message': 'Use `window.close`.', | ||||
| 				}, | ||||
| 				{ | ||||
| 					'name': 'fetch', | ||||
| 					'message': 'Use `window.fetch`.', | ||||
| 				}, | ||||
| 				{ | ||||
| 					'name': 'location', | ||||
| 					'message': 'Use `window.location`.', | ||||
| 				}, | ||||
| 				{ | ||||
| 					'name': 'history', | ||||
| 					'message': 'Use `window.history`.', | ||||
| 				}, | ||||
| 			], | ||||
| 			'no-shadow': ['warn'], | ||||
| 			'vue/attributes-order': ['error', { | ||||
| 				alphabetical: false, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue