Git Product home page Git Product logo

Comments (9)

sodatea avatar sodatea commented on June 9, 2024 1

Let's keep an eye on vuejs/eslint-plugin-vue#2407

from create-vue.

cexbrayat avatar cexbrayat commented on June 9, 2024

Hi @aleksey-hoffman

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.

aleksey-hoffman avatar aleksey-hoffman commented on June 9, 2024

@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.

JoostKersjes avatar JoostKersjes commented on June 9, 2024

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.

cexbrayat avatar cexbrayat commented on June 9, 2024

@JoostKersjes Sure, feel free to open one and we'll gladly review it, thanks! 👍

from create-vue.

JoostKersjes avatar JoostKersjes commented on June 9, 2024

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.

cexbrayat avatar cexbrayat commented on June 9, 2024

@JoostKersjes We're always happy to get PRs, feel free to open one

from create-vue.

JoostKersjes avatar JoostKersjes commented on June 9, 2024

@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.

jez9999 avatar jez9999 commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.