ESLint plugin (v0.0.3) that enforces absolute imports in JavaScript/TypeScript projects. Zero-dependency, requires a baseUrl defined in tsconfig.json or jsconfig.json (paths not supported). Targets developers migrating from relative imports to absolute imports for cleaner codebases. Infrequent updates; currently stable but limited in scope.
npm install eslint-plugin-absolute-importsVerified import paths — ran on the pinned version, not inferred.
Enables the only-absolute-imports rule with ESLint config and a required baseUrl in tsconfig.
Define a single baseUrl in tsconfig or jsconfig; avoid using paths with this plugin.
Use 'absolute-imports/only-absolute-imports' in your rules.
Use legacy .eslintrc format or check plugin's compatibility with flat config.
Add 'baseUrl': './src' (or appropriate root) to tsconfig compilerOptions.
Run npm install eslint-plugin-absolute-imports --save-dev and add 'absolute-imports' to plugins.
Ensure plugin is added to plugins array and rule name is correct: 'absolute-imports/only-absolute-imports'.
No dependency data recorded yet.