I have a postcss.config.cjs in my project, and when using the typechecked config recommended in the README, I ended up getting
Error: Error while loading rule '@typescript-eslint/await-thenable': You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.
Parser: typescript-eslint/parser
Occurred while linting /.../postcss.config.cjs
Such issues can be avoided by not just skipping .js files, but also .cjs and .mjs. Since .cjs and .mjs files are also Javascript files I believe this makes sense.
I have a
postcss.config.cjs
in my project, and when using the typechecked config recommended in the README, I ended up gettingSuch issues can be avoided by not just skipping .js files, but also .cjs and .mjs. Since .cjs and .mjs files are also Javascript files I believe this makes sense.