Skip to content

Upgrade ESLint to v10 flat config setup#271

Merged
MekDrop merged 1 commit intomasterfrom
codex/bump-eslint-to-10-1-0
Apr 1, 2026
Merged

Upgrade ESLint to v10 flat config setup#271
MekDrop merged 1 commit intomasterfrom
codex/bump-eslint-to-10-1-0

Conversation

@Codex
Copy link
Copy Markdown
Contributor

@Codex Codex AI commented Apr 1, 2026

ESLint was on v9 and flat-config migration was incomplete, blocking the bump to 10.1.0.

  • Dependencies: bump eslint to 10.1.0, add @eslint/js, @eslint/eslintrc, vue-eslint-parser, upgrade eslint-plugin-vue to 10.8.0 to match ESLint 10.
  • Config: replace FlatCompat usage with native flat config; apply Vue flat essential preset + Prettier flat; set browser/node globals explicitly; move ignores into eslint.config.js and drop obsolete .eslintignore.
  • Cleanups: remove /* eslint-env */ header in quasar.config.js; remove unused disable in postcss.config.cjs.

Example of updated flat config:

const globals = require("globals");
const prettier = require("eslint-config-prettier/flat");
const vue = require("eslint-plugin-vue");

module.exports = [
  { ignores: ["dist/**", ".quasar/**", ".eslintrc.cjs"] },
  {
    languageOptions: {
      ecmaVersion: 2021,
      sourceType: "module",
      globals: { ...globals.browser, ...globals.node },
    },
    plugins: { vue },
  },
  ...vue.configs["flat/essential"],
  prettier,
  { rules: { "vue/no-v-text-v-html-on-component": "off" } },
];

Co-authored-by: MekDrop <342641+MekDrop@users.noreply.github.com>
@Codex Codex AI assigned Codex and MekDrop Apr 1, 2026
@MekDrop MekDrop marked this pull request as ready for review April 1, 2026 16:06
@MekDrop MekDrop merged commit e18f651 into master Apr 1, 2026
1 check passed
@MekDrop MekDrop deleted the codex/bump-eslint-to-10-1-0 branch April 1, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants