eslint-config-axeptio
raw JSON → 1.0.0 verified Fri May 01 auth: no javascript
Shared ESLint configuration for Axeptio projects, version 1.0.0. Provides a consistent set of linting rules tailored for Axeptio's codebase. No release cadence specified; likely updated on demand. Differentiators: opinionated rules specific to Axeptio, not generic like eslint-config-airbnb. Only peer dependency is eslint ^8.13.0.
Common errors
error Error: Failed to load config "eslint-config-axeptio" to extend from. ↓
cause ESLint cannot find the config package.
fix
Ensure eslint-config-axeptio is installed: npm install --save-dev eslint-config-axeptio.
error Error: Cannot find module 'eslint-config-axeptio' ↓
cause Package not installed or missing node_modules.
fix
Run npm install in your project root.
error Oops! Something went wrong! :( ESLint: 8.x.x Error: Failed to load plugin 'eslint-plugin-axeptio' ↓
cause The config may reference a plugin that is not installed.
fix
Ensure all plugin dependencies are installed if the config uses them.
Warnings
gotcha Config is not automatically applied; must be explicitly extended. ↓
fix Add 'extends: ["eslint-config-axeptio"]' to your ESLint config.
deprecated ESLint 9+ flat config not supported; only legacy .eslintrc format. ↓
fix Use .eslintrc.js or .eslintrc.json with peer eslint ^8.13.0.
gotcha Package name includes 'eslint-config-', but may conflict with scoped packages. ↓
fix Always use full package name 'eslint-config-axeptio' when extending.
Install
npm install eslint-config-axeptio yarn add eslint-config-axeptio pnpm add eslint-config-axeptio Imports
- default export wrong
import config from 'eslint-config-axeptio'correctmodule.exports = { extends: ['eslint-config-axeptio'] } - extend in eslint config wrong
extends: ['axeptio']correctextends: ['eslint-config-axeptio'] - override in eslint config wrong
overrides: [{ files: ['*.ts'], extends: ['axeptio'] }]correctoverrides: [{ files: ['*.ts'], extends: ['eslint-config-axeptio'] }]
Quickstart
module.exports = {
extends: ['eslint-config-axeptio'],
rules: {
// override rules here
}
};