Swap Vue-A11y linter for Vuejs-Accessibility
This commit is contained in:
		
							parent
							
								
									f63522dcf1
								
							
						
					
					
						commit
						f3f430ab47
					
				
							
								
								
									
										14
									
								
								.eslintrc.js
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								.eslintrc.js
									
									
									
									
									
								
							| @ -26,7 +26,7 @@ module.exports = { | ||||
|   extends: [ | ||||
|     'eslint:recommended', | ||||
|     'plugin:jest/recommended', | ||||
|     'plugin:vue-a11y/recommended', | ||||
|     'plugin:vuejs-accessibility/recommended', | ||||
|     'tjw-base', | ||||
|     'tjw-vue' | ||||
|   ], | ||||
| @ -35,7 +35,15 @@ module.exports = { | ||||
|       'error', | ||||
|       'Property[method="true"]' | ||||
|     ], | ||||
|     // https://github.com/maranran/eslint-plugin-vue-a11y/issues/10
 | ||||
|     'vue-a11y/click-events-have-key-events': 'off' | ||||
|     'vuejs-accessibility/label-has-for': [ | ||||
|       'error', | ||||
|       { | ||||
|         'components': ['Label'], | ||||
|         'required': { | ||||
|           'some': ['nesting', 'id'] | ||||
|         }, | ||||
|         'allowChildren': false | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
| }; | ||||
|  | ||||
| @ -58,7 +58,7 @@ | ||||
|     "eslint-config-tjw-vue": "^1.0.0", | ||||
|     "eslint-plugin-jest": "^23.7.0", | ||||
|     "eslint-plugin-vue": "^6.2.1", | ||||
|     "eslint-plugin-vue-a11y": "^0.0.31", | ||||
|     "eslint-plugin-vuejs-accessibility": "^0.3.1", | ||||
|     "jest-serializer-vue-tjw": "^3.11.0", | ||||
|     "nw": "0.47.0-sdk", | ||||
|     "nw-vue-devtools-prebuilt": "^0.0.10", | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user