eslint-plugin-import
eslint-plugin-import copied to clipboard
ESLint plugin with rules that help validate proper imports.
See d108b5d3aafc0e20aa3c08ad85b0ecfe184ad552 and #1986.
Upon running tests, `nyc` is crashing out due to a syntax error. I believe this is because it's mistakenly trying to parse the TypeScript file as Flow. The file `declaredScope.d.ts`...
When running the tests locally, I see an odd error: ```console $ npm run test ... Error while parsing D:\Source\eslint-plugin-import\tests\files\no-unused-modules\arbitrary-module-namespace-identifier-name-a.js Line 2, column 17: Line 2: Unexpected token 1 |...
I just cloned the repository and these commands. - npm i - npm test (this one failed with the output below) ``` PS Z:\git\eslint-plugin-import> npm test > [email protected] pretest >...
I'm currently converting my codebase to a monorepo, and I've stumbled across an issue with `no-unresolved`. Even though the sibling package I reference is symlinked into `node_modules`, it doesn't actually...
### Environment Node version: v14.15.4 npm version: v7.15.1 Local ESLint version: v7.32.0 Global ESLint version: v7.31.0 (Currently used) Operating System: win32 10.0.19043 ### What parser are you using? @typescript-eslint/parser ###...
I would like to work on autofixing the `extensions` rule, would you be open for that? Removing the extension is not a problem, but adding one is tricky, because we...
The markup in README.md is misleading, as it puts several alternatives into one block of code while not making it clear where the alternatives begin and end, forcing the reader...
Hey. I am currently working on an nx project. Where in the tsconfig something like that is configured: ```json "compilerOptions": { "paths": { "@auth/feature-auth": ["libs/auth/feature-auth/src/index.ts"], "@employee-view/api": ["libs/employee-view/api/src/index.ts"], "@employee-view/shared": ["libs/employee-view/shared/src/index.ts"], "@shared/map":...
I think there should be an option in `import/no-extraneous-dependencies` to exclude by package name for such as non-explicitly in package.json sub dependency. For example `@storybook/addon-actions` that normally and should be...