Open thescientist13 opened 4 weeks ago
Coming out of our experience in https://github.com/ProjectEvergreen/greenwood/pull/1215, for the time being since ESLint doesn't support Import Attributes, without using a custom parser, e.g.
module.exports = { parser: '@babel/eslint-parser', parserOptions: { ecmaVersion: 2022, sourceType: 'module', requireConfigFile: false, babelOptions: { plugins: [ '@babel/plugin-syntax-import-assertions' ], } } // ... }
However, as has been added to this Discussion, the markdown plugin for ESLint doesn't seem to play well with a custom parser 😢
So the hope here is that either:
or
Summary
Coming out of our experience in https://github.com/ProjectEvergreen/greenwood/pull/1215, for the time being since ESLint doesn't support Import Attributes, without using a custom parser, e.g.
However, as has been added to this Discussion, the markdown plugin for ESLint doesn't seem to play well with a custom parser 😢
Details
So the hope here is that either:
or