npm
npmjs.com › package › @eslint › compat
@eslint/compat - npm
January 30, 2026 - // CommonJS example const { fixupRule } = require("@eslint/compat"); // Step 1: Import your rule const myRule = require("./local-rule.js"); // Step 2: Create backwards-compatible rule const compatRule = fixupRule(myRule); // Step 3 (optional): Export fixed rule module.exports = compatRule;
» npm install @eslint/compat
Published Jan 30, 2026
Version 2.0.2
Author Nicholas C. Zakas
Repository https://github.com/eslint/rewrite
ESLint
eslint.org › blog › 2024 › 05 › eslint-compatibility-utilities
Introducing ESLint Compatibility Utilities
May 9, 2024 - One of the benefits of the new configuration system is that it allows us the ability to patch plugins and configs that haven’t yet been updated by their maintainers. We know it can be frustrating to migrate to ESLint v9.0.0 and have your configuration not work, and that’s why we’re committed to providing packages like @eslint/eslintrc and @eslint/compat to help aid the transition.
Use eslint-plugin-compat alongside Babel
I have a webpack project that uses Babel for JavaScript transpilation. To tell Babel which browsers to target when it transpiles my code, I use a .browserslistrc file. I'm also interested in using... More on stackoverflow.com
typescript - eslint-plugin-compat not linting unsupported feature - Stack Overflow
I'm using "eslint-plugin-compat": "^6.0.2", along with some other eslint dependencies: "eslint": "^7.0.0", "eslint-config-google": "^0.14.0&qu... More on stackoverflow.com
ESLint couldn't find the plugin "eslint-plugin-compat"
I've been trying to set up this plugin (I have already verified autoprefixer is working correctly with my .browserslistrc file, so that's not the problem). It didn't seem to be working ... More on github.com
Any good alternatives to the old Airbnb eslint configs?
If you’re migrating, just use Biome. Easier setup and you can migrate a version 8 eslint/prettier config. You do NOT need something as draconian and heavy as the AirBnB config. They haven’t used it in years. More on reddit.com
npm
npmjs.com › package › eslint-plugin-compat
eslint-plugin-compat - npm
January 23, 2026 - Lint browser compatibility of API used. Latest version: 7.0.1, last published: 2 days ago. Start using eslint-plugin-compat in your project by running `npm i eslint-plugin-compat`. There are 395 other projects in the npm registry using eslint-plugin-compat.
» npm install eslint-plugin-compat
Published Mar 02, 2026
Version 7.0.1
Author Amila Welihinda
ESLint
eslint.org › docs › latest › use › configure › migration-guide
Configuration Migration Guide
// eslint.config.js import { defineConfig } from "eslint/config"; import { includeIgnoreFile } from "@eslint/compat"; import { fileURLToPath } from "node:url"; const gitignorePath = fileURLToPath(new URL(".gitignore", import.meta.url)); export default defineConfig([ includeIgnoreFile(gitignorePath, "Imported .gitignore patterns"), // other configs ]);
GitHub
github.com › ota-meshi › eslint-compat-utils
GitHub - ota-meshi/eslint-compat-utils
Provides an API for ESLint custom rules that is compatible with the latest ESLint even when using older ESLint.
Author ota-meshi
ESLint
eslint.org › docs › latest › use › configure › configuration-files
Configuration Files - ESLint - Pluggable JavaScript Linter
// eslint.config.js import { defineConfig } from "eslint/config"; export default defineConfig([ { files: ["**/*.js"], linterOptions: { reportUnusedDisableDirectives: "error", }, }, ]); 1 2 3 4 5 6 7 8 9 10 11 Copy code to clipboard · This setting defaults to "warn". You can override this setting using the --report-unused-disable-directives or the --report-unused-disable-directives-severity command line options. For legacy compatibility, true is equivalent to "warn" and false is equivalent to "off".
GitHub
github.com › amilajack › eslint-plugin-compat › issues
amilajack/eslint-plugin-compat
Check the browser compatibility of your code. Contribute to amilajack/eslint-plugin-compat development by creating an account on GitHub.
Author amilajack
Stack Overflow
stackoverflow.com › questions › 55386700 › use-eslint-plugin-compat-alongside-babel
Use eslint-plugin-compat alongside Babel
I'm also interested in using the ESLint compatibility plugin, eslint-plugin-compat, which will warn you if you're using JS that is not compatible with the browsers you are targeting (the ESLint plugin also refers to the .browserslistrc file).
GitHub
github.com › applitools › eslint-plugin-compat
GitHub - applitools/eslint-plugin-compat: ESLint rules for IE, based on Salesforce LWC rules · GitHub
Add compat to the plugins section of your configuration. Then configure the desired rules in the rules sections. ... { "parser": "babel-eslint", "plugins": ["@applitools/eslint-plugin-compat"], "rules": { "@applitools/compat/no-deprecated": "error", "@applitools/compat/valid-api": "error", "@applitools/compat/no-document-query": "error" } }
Author applitools
GitHub
github.com › amilajack › eslint-plugin-compat › releases
Releases · amilajack/eslint-plugin-compat
Check the browser compatibility of your code. Contribute to amilajack/eslint-plugin-compat development by creating an account on GitHub.
Author amilajack
ESLint
eslint.org › docs › latest › use › configure › ignore
Ignore Files - ESLint - Pluggable JavaScript Linter
// eslint.config.js import { defineConfig } from "eslint/config"; import { includeIgnoreFile } from "@eslint/compat"; import { fileURLToPath } from "node:url"; const gitignorePath = fileURLToPath(new URL(".gitignore", import.meta.url)); export default defineConfig([ includeIgnoreFile(gitignorePath, "Imported .gitignore patterns"), { // your overrides }, ]);
GitHub
github.com › amilajack › eslint-plugin-compat › issues › 79
ESLint couldn't find the plugin "eslint-plugin-compat" · Issue #79 · amilajack/eslint-plugin-compat
March 9, 2017 - 2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following: npm i eslint-plugin-compat@latest --save-dev If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.
Published May 08, 2017
GitHub
github.com › amilajack › eslint-plugin-compat › blob › main › eslint.config.mjs
eslint-plugin-compat/eslint.config.mjs at main · amilajack/eslint-plugin-compat
Check the browser compatibility of your code. Contribute to amilajack/eslint-plugin-compat development by creating an account on GitHub.
Author amilajack
Npmpackage
npmpackage.info › package › eslint-plugin-compat
eslint-plugin-compat - 6.0.2
Own it today for $10,000, or select Lease to Own or make an offer · Free transaction support
Reddit
reddit.com › r/reactjs › any good alternatives to the old airbnb eslint configs?
r/reactjs on Reddit: Any good alternatives to the old Airbnb eslint configs?
June 26, 2025 -
There are some convenient rules that we use in our eslint config from eslint-config-airbnb. Unfortunately the project isn't really maintained anymore. Now we're migrating to eslint v9, which isn't supported by them. Did anyone go through a similar process when upgrading to eslint v9 and maybe find a good alternative, that gets 80%+ of the same rules?
Right now, I am leaning towards just dropping the package.
Top answer 1 of 13
30
If you’re migrating, just use Biome. Easier setup and you can migrate a version 8 eslint/prettier config. You do NOT need something as draconian and heavy as the AirBnB config. They haven’t used it in years.
2 of 13
8
Airbnb config sucks, stick with recommended or go with Biome indeed
Maven Repository
mvnrepository.com › artifact › org.mvnpm › eslint-compat-utils
Maven Repository: org.mvnpm » eslint-compat-utils
May 13, 2025 - Provides an API for ESLint custom rules that is compatible with the latest ESLint even when using older ESLint.