Files
Huáng JùnliàngandGitHub ca63b7b792 Test eslint plugin against eslint 9 (#16663)
* test eslint-* against eslint 9

* test: provide eslintConfigCompat for older eslint version tests

* update NodeGte12NoESM test

* Merge two tests

The ESLint tests will be run against Node >= 12 only, so nodeGte12NoESM implies itNoESM, which can be merged with itESM into it.

* updat babel e2e patches

* use eslint.config.mjs for eslint-plugin-import integration test

* update duplicated-babel-parser test to ESLint 9

* yarn dedupe

* bump eslint to 9.7.0
2024-07-26 14:47:33 -04:00

20 lines
357 B
JavaScript

const babelParser = require("@babel/eslint-parser");
module.exports = [
{
languageOptions: {
parser: babelParser,
parserOptions: {
babelOptions: {
configFile: __dirname + "/babel.config.js",
sourceType: "module",
},
},
},
rules: {
"template-curly-spacing": "error",
},
},
];