Skip to content

Plugins

The plugins are external packages that add extra linting power to ESLint. They provide the actual rules for different ecosystems like React, Next.js, and TypeScript. Without these plugins, the rules cannot run. Each plugin brings its own set of checks to improve code quality and consistency.

PackagePurpose
@stylistic/eslint-pluginStyling & formatting rules
eslint-plugin-import-xImport/export validation
eslint-plugin-nNode.js best practices
eslint-plugin-reactReact-specific linting
eslint-plugin-react-hooksRules of Hooks
eslint-plugin-jsx-a11yAccessibility for JSX
@next/eslint-plugin-nextNext.js-specific linting
@typescript-eslintTypeScript linting support

Example

ts
import { plugins } from 'eslint-config-airbnb-extended';

export default [
  // Stylistic plugin
  plugins.stylistic,
  // TypeScript ESLint plugin
  plugins.typescriptEslint,
];

Released under the MIT License.