Open
Description
In both cloudfour.com-patterns and a client project, the following section is in the .eslintrc.js
file to keep linting working. We should probably find a fix here instead:
module.exports = {
overrides: [
{
// This override shouldn't be necessary because the cloudfour plugin has the exact same override,
// but eslint isn't merging the overrides from the cloudfour plugin and the mdx plugin as expected.
// Specifying this here fixes it.
files: ['*.ts', '*.tsx'],
parser: require.resolve(
// eslint-disable-next-line @cloudfour/node/no-extraneous-require
'@typescript-eslint/parser'
),
parserOptions: {
project: './tsconfig.json',
},
},
],
};
Metadata
Metadata
Assignees
Labels
No labels