Comments (9)
Let's keep an eye on vuejs/eslint-plugin-vue#2407
from create-vue.
I'm not an expert on this, but I think it's because ESLint did not allow a flat config for a long time so this was a workaround when create-vue was initially created by @sodatea . Maybe it would be possible to do better now, I haven't checked.
If you think that can be improved, feel free to open a PR, we would gladly review and merge it 👍
from create-vue.
@cexbrayat thanks for the reply, I suppose you are right about the workaround.
Since the latest Node.js versions support modern ES syntax, and a large portion of projects are being migrated to ES syntax now, I suppose we could make this change in create-vue v4.0.0
once ESlint v9 comes out - @sodatea what do you think, mate?
ESlint v9 will have full support for ES modules
from create-vue.
ESLint v9 is now released and PR vuejs/eslint-plugin-vue#2407 is merged. Seems like this can now be resolved with a PR?
from create-vue.
@JoostKersjes Sure, feel free to open one and we'll gladly review it, thanks! 👍
from create-vue.
A new version for @vue/create-eslint-config is where most of the work lies, so this is what I've been looking into. Not sure if PR's are accepted there though.
from create-vue.
@JoostKersjes We're always happy to get PRs, feel free to open one
from create-vue.
@cexbrayat Hey, I think the create-eslint-config PR ready for review now. Could you do that or find someone for it?
from create-vue.
I'd definitely like to see the project scaffolds using the flat config format ASAP. It greatly reduces the complexity of configuring ESLint, as well as setting a bunch of reasonable defaults the old system didn't and organizing things better. I want to get rid of the ./eslintrc.cjs
in my current Vue project but I'm not exactly sure how to do it whilst retaining the same functioality and settings the current setup gives.
from create-vue.
Related Issues (20)
- regression: flags are not interpreted correctly in v3.10 when creating project HOT 2
- cannot find module using @ absolute path syntax Visual Studio Code HOT 5
- Add ESLint run-on-save VSCode settings HOT 3
- create vue project error . TypeError: (0 , import_node_util.parseArgs) is not a function HOT 5
- vue template script buggy HOT 2
- TS2307: Cannot find module '@/components/echarts' or its corresponding type declarations. HOT 8
- Add Issue templates HOT 1
- Add PR template HOT 1
- Cannot find base config file "@vue/tsconfig/tsconfig.dom.json" [tsconfig.json] HOT 14
- The e2e tests in the subfolders under e2e/ are being executed by vitest
- ESLint v9 support HOT 2
- Windows 10 bun type error HOT 1
- typescript .vue file include @types/node when include some package HOT 2
- 升级vue3小版本后 切换路由页面空白,控制台报错! HOT 2
- yarn create vue@latest report an error HOT 2
- Update README screenshot HOT 3
- About `tsBuildInfoFile` config HOT 2
- eslint error with vue typescript files HOT 1
- Project scaffolded with create vue / typescript / vue-router does not render page correctly HOT 9
- Support githooks like husky or yorkie HOT 2
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 create-vue.