Javascript – Eslint 9 add a rule to existing configuration
I have a ES9 config that looks like this (eslint.config.js): import globals from 'globals'; import pluginJs from '@eslint/js'; import tseslint from 'typescript-eslint'; import stylistic from '@stylistic/eslint-plugin'; export default [ { files: ['src/js/**/*.{js,mjs,cjs,ts}'], }, stylistic.configs.customize({ indent: 2, quotes: 'single', semi: true,…