Giter Club home page Giter Club logo

create-eslint-config's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • enquirer ^2.4.1
  • javascript-stringify ^2.1.0
  • kolorist ^1.8.0
  • @rushstack/eslint-patch ^1.10.1
  • @vue/eslint-config-airbnb ^8.0.0
  • @vue/eslint-config-airbnb-with-typescript ^8.0.0
  • @vue/eslint-config-prettier ^9.0.0
  • @vue/eslint-config-standard ^8.0.1
  • @vue/eslint-config-standard-with-typescript ^8.0.0
  • @vue/eslint-config-typescript ^13.0.0
  • eslint ^8.57.0
  • eslint-plugin-vue ^9.24.0
  • prettier ^3.2.5
  • standard ^17.1.0
  • node ^16.14.0 || >= 18.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

eslint prettier auto save invalid

After using VUE3 to create a project, I found that it automatically saved the repair and failed

image

I hope it is like this

image

I later discovered it

// eslint.json
{
  extends: [
    'plugin:vue/vue3-essential',
    'eslint:recommended',
    '@vue/eslint-config-typescript',
    '@vue/eslint-config-prettier/skip-formatting'
  ],
}

'@vue/eslint-config-prettier/skip-formatting' config why add 'skip-formatting'??

I turned it into

// eslint.json
{
  extends: [
   ...
    '@vue/eslint-config-prettier'
  ],
}

It started working

It is turned off in node_modules page

// node_modules/@vue/eslint-config-prettier/skip-formatting.js
  rules: {
    "prettier/prettier": "off",
  },

So why use eslintConfig.extends.push('@vue/eslint-config-prettier/skip-formatting')configuration in the code

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.