Comments (3)
Sounds legit, but I'd consider this as purely stylistic rule, not necessarily a good practice as it's a matter of preference. What do you think @mysticatea ?
from eslint-plugin-vue.
I thinks it's a grey area. Greater specificity catches more errors, but errors are not inevitable with lower specificity.
from eslint-plugin-vue.
Validation of props helps to catch issues easier and its highly recommend for bigger projects due to a lot of components and often inexperienced developers.
We should have this rule but not enabled in recomended.
from eslint-plugin-vue.
Related Issues (20)
- vue/define-macros-order does not support multiple defineModel macro calls
- Typescript: Eslint can't detect types exported from Vue SFC
- `vue/require-default-prop` gives false positive for optional Function props HOT 2
- attribute-hyphenation: Ignore tag name pattern or function
- didn't set vue-eslint-parser, but checked the rules defined in eslint-plugin-vue HOT 1
- vue/define-macros-order Ignore TS type sorting HOT 1
- Require default export on `<script>` HOT 1
- `vue/no-useless-mustaches` auto-fix produces invalid HTML
- [Rule change request] `vue/no-unused-properties`: New option to take `expose` into account HOT 1
- `vue/no-unused-emit-declarations` would throw Error when using dynamic render
- `require-explicit-slots` does not recognize slot names enclosed in quotes HOT 2
- defineModel not working with eslint:recommended rules HOT 4
- Invalid config? vue/html-closing-bracket-spacing not working. HOT 2
- `vue/no-useless-v-bind` auto-fix adds extra whitespace HOT 1
- `vue/require-explicit-slots` doesn't recognize interface passed to the macro
- Add `slots` to `vue/order-in-components` default order HOT 2
- vue/html-indent conflicting with prettier (Expected indentation of xx spaces but found xx spaces) HOT 1
- Is this expected with no-undef-properties and defineModel in <script setup>? HOT 2
- Add component-name-in-template-casing: 'PascalCaseNamespaced' HOT 3
- add a preset for ts 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.