You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule above breaks ESLint. I ideally want all props that start with aria- to be permitted but to simplify the issue I removed my regex attempt. The moment I add the the options object with 'ignoreProps' and restart ESLint, it stops working. With the { 'ignoreProps': '...' } options removed, it works again.
$ npx eslint .
Oops! Something went wrong! :(
ESLint: 9.20.1
Error: Key "rules": Key "vue/prop-name-casing":
Value ["camelCase",{"ignoreProps":["aria-hidden"]}] should NOT have more than 1 items.
The text was updated successfully, but these errors were encountered:
I did some browsing of the eslint-plugin-vue codebase and it looks like the reason this isn't working is because it's a new feature, so what's listed in the official documentation hasn't actually made it to an official release yet. Naturally it's my luck to use a brand-new feature based on documentation. 🤦♂️
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
The rule above breaks ESLint. I ideally want all props that start with
aria-
to be permitted but to simplify the issue I removed my regex attempt. The moment I add the the options object with'ignoreProps'
and restart ESLint, it stops working. With the{ 'ignoreProps': '...' }
options removed, it works again.The text was updated successfully, but these errors were encountered: