ESLint plugin providing comprehensive linting rules for ES2015+ import/export syntax with static analysis and module system enforcement.
80
Builds ESLint configuration outputs that rely on the package's bundled presets for both legacy .eslintrc and flat config formats, letting teams toggle strictness and environment flavors without re-declaring rule lists.
extends stack starts with the package's recommended preset and layers optional strict/error emphasis and environment presets without duplicating entries. @testwarningsOnly flag switches the chosen package preset from strict/errors to the warnings-focused preset while preserving applied environment presets across both legacy and flat outputs. @test@generates
export type Mode = 'legacy' | 'flat';
export interface ConfigOptions {
mode: Mode;
typescript?: boolean;
react?: boolean;
warningsOnly?: boolean;
}
export function buildConfig(options: ConfigOptions): object;Provides the package presets for legacy .eslintrc and flat config formats that power the assembled configurations.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-eslint-plugin-import-xdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10