diff --git a/package.json b/package.json index e0954ca..4d18c90 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "check": "npm-run-all --parallel check:*", "check:lint": "eslint --no-eslintrc --config=.eslintrc.json **/*.{js,mjs}", - "check:prettier": "prettier --check **/*.{js,json,md}", + "check:prettier": "prettier --check **/*.{js,json,md,mjs}", "ci": "npm-run-all check test", "postinstall": "lerna bootstrap", "test": "lerna run test" diff --git a/packages/check-es-compat/bin/cli.mjs b/packages/check-es-compat/bin/cli.mjs index f4c0b55..928780f 100644 --- a/packages/check-es-compat/bin/cli.mjs +++ b/packages/check-es-compat/bin/cli.mjs @@ -19,9 +19,10 @@ if (args.length === 0) { async function execute(files) { const eslint = new ESLint({ - // Ignore any config files + // Ignore any config; it's for target's own linter setup rather than this tool. useEslintrc: false, ignore: false, + allowInlineConfig: false, baseConfig: { plugins: ['ecmascript-compat'],