Comments (4)
@filipalacerda i think better name for this rule is html-attributes-casing
from eslint-plugin-vue.
@armano2 they can be vue props tho 🤔
from eslint-plugin-vue.
yes but we don't know if they are props or regular attributes and even if they are props they are still attributes
from eslint-plugin-vue.
Thank you for the proposal!
Sounds good to me, but I have some notes.
- This rule should apply to only HTML context; should not apply to SVG/MathML context because XML is case-sensitive.
- I'm not sure the three options are proper. Because we are using all small letters in the attributes of HTML in practice. E.g.
onclick
,contenteditable
, etc... - There are the
-
character which we cannot remove: HTMLdata-*
attributes.
from eslint-plugin-vue.
Related Issues (20)
- enforce usage of 'const' or trigger error when reassigning reactive value
- Eslint disable does not take effect HOT 2
- rule `v-on-handler-style` didn't allow async event listener HOT 1
- Empty class breaks eslint for vue/no-restricted-class
- New Rule: disallow using deprecated `next` argument in `NavigationGuard`
- Conflict: doesn't work if using separate overrides .vue and .ts HOT 2
- Rule Proposal: Maximum number of props
- vue/no-v-text-v-html-on-component: it should not warn if a component implements default slot HOT 9
- require-default-prop for optional props HOT 1
- `vue/multi-word-component-names` also applies to pages directory HOT 2
- disallow importing macros: defineProps etc
- `vue/custom-event-name-casing`: should check and report `update:kebab-case`/`update:camelCase` event names too HOT 1
- HTML indent to extend from ESLint Stylistic HOT 1
- unmet peer eslint@"^6.2.0 || ^7.0.0 || ^8.0.0": found 9.0.0 HOT 3
- how to configure for .vue with <script setup lang="ts" HOT 4
- `getCommentsBefore` empty in Vue SFC with two `script` tags HOT 1
- Support for ESLint 9 HOT 4
- Full example for flat config with object
- Under default configuration, HelloWorld.vue in the vite ts template will be detected as an error HOT 2
- Rule proposal: no-computed-after-await HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-vue.