🌐
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
🌐
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.
Discussions

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
🌐 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
🌐 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
🌐 github.com
5
March 9, 2017
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
🌐 r/reactjs
33
20
June 26, 2025
🌐
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
🌐
Medium
medium.com › @1608naman › a-flat-attempt-at-the-eslint-flat-config-393005212d67
A Flat Attempt at the ESLint Flat Config | by Naman Dhingra | Medium
September 28, 2024 - The extends() method in FlatCompat allows you to include configurations that use CommonJS and other legacy formats. When you call compat.extends('eslint-config-airbnb-base'), it internally uses the ConfigArrayFactory to load and translate the specified config.
🌐
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".
🌐
Next.js
nextjs.org › docs › app › api-reference › config › eslint
Configuration: ESLint | Next.js
2 weeks ago - Learn how to use and configure the ESLint plugin to catch common issues and problems in a Next.js application.
Find elsewhere
🌐
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
🌐
Snyk
security.snyk.io › snyk vulnerability database › npm
eslint-plugin-compat vulnerabilities | Snyk
We found that eslint-plugin-compat demonstrates a positive version release cadence with at least one new version released in the past 3 months.
🌐
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.

🌐
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.