mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* 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
20 lines
357 B
JavaScript
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",
|
|
},
|
|
},
|
|
];
|