diff --git a/eslint.config.mjs b/eslint.config.mjs index 2bd9b289..0a0c508d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,13 +1,15 @@ import neostandard from 'neostandard' +import compat from 'eslint-plugin-compat' export default [ { ignores: [ - 'coverage/**/*.js', - 'dist/**/*.js', - 'test/**/*.js', - 'vendor/**/*.js', + 'coverage/*', + 'dist/*', + 'test/*', + 'vendor/*', ] }, + compat.configs['flat/recommended'], ...neostandard() ] diff --git a/package.json b/package.json index c29c50ff..e549f6a9 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@rollup/plugin-node-resolve": "^16.0.0", "chrome-launcher": "^1.1.2", "eslint": "^9.17.0", + "eslint-plugin-compat": "^6.0.2", "neostandard": "^0.12.0", "puppeteer-core": "^23.10.4", "rollup": "^4.28.1",