Commit Graph

32 Commits

Author SHA1 Message Date
github-actions[bot] 6141c31839 Version Packages 2023-04-18 12:36:06 +00:00
Patrik Oldsberg 68fcb7a675 Update packages/eslint-plugin/rules/no-undeclared-imports.js
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-03 12:14:49 +02:00
Patrik Oldsberg c85cddd899 eslint-plugin: fix auto install yarn add flag
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-04-03 12:04:03 +02:00
github-actions[bot] 5af2c4f412 Version Packages (next) 2023-03-21 13:38:30 +00:00
Patrik Oldsberg aa4b436825 Merge pull request #16706 from backstage/rugvip/autofix
eslint-plugin: add auto fix for missing imports
2023-03-14 19:07:34 +01:00
github-actions[bot] 24632ad94b Version Packages 2023-03-14 14:31:40 +00:00
Patrik Oldsberg 911c25de59 eslint-plugin: add auto fix for missing imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-06 13:09:27 +01:00
github-actions[bot] b4627f23b2 Version Packages (next) 2023-02-21 15:40:30 +00:00
blam b22d090dda chore: skip imports for the package itself, this works as expected in node
Signed-off-by: blam <ben@blam.sh>
2023-02-17 12:06:59 +01:00
blam e24851b4fa chore: added mock node_modules for resolution
Signed-off-by: blam <ben@blam.sh>
2023-02-17 12:06:59 +01:00
blam a3576a386e chore: fixing the eslint rule
Signed-off-by: blam <ben@blam.sh>
2023-02-17 12:06:59 +01:00
github-actions[bot] 25b57cc07f Version Packages 2023-02-14 13:41:52 +00:00
github-actions[bot] b2a73c984a Version Packages (next) 2023-02-07 15:03:45 +00:00
Patrik Oldsberg 000fd3f4a8 eslint-plugin: fix no-undeclared-imports test on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-06 17:24:10 +01:00
Patrik Oldsberg 2638dd4e7c eslint-plugin: add tests for no-forbidden-package-imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-04 11:33:55 +01:00
Patrik Oldsberg e6d210947e eslint-plugin: add tests for no-undeclared-imports + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-04 11:33:55 +01:00
Patrik Oldsberg 6801eb5780 eslint-plugin: refactor to fix issues uncovered by more strict parsing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-04 11:33:55 +01:00
Patrik Oldsberg aefe3a5624 eslint-plugin: added tests for no-relative-monorepo-imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-04 11:33:55 +01:00
Patrik Oldsberg 71bf2eb0ed eslint-plugin: add doc rule links and update README
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 17:21:46 +01:00
Patrik Oldsberg 015c0e0f89 eslint-plugin: add docs for no-forbidden-package-imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 17:15:55 +01:00
Patrik Oldsberg 5105b9848a eslint-plugin: add docs for no-relative-monorepo-imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 17:10:51 +01:00
Patrik Oldsberg ef73e8626b eslint-plugin: add docs for no-undeclared-imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 17:04:24 +01:00
Patrik Oldsberg 4753d26b94 eslint-plugin: add no-relative-monorepo-imports rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 16:42:23 +01:00
Patrik Oldsberg 58e481a4f9 eslint-plugin: ignore type imports when checking deps
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 16:15:48 +01:00
Patrik Oldsberg d5eee2944c eslint-plugin: improved peer deps check and consider package role
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 16:15:17 +01:00
Patrik Oldsberg 765b7ee355 eslint-plugin: backwards compatiblity check for packages without exports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 16:14:07 +01:00
Patrik Oldsberg 8b4a758ed2 eslint-plugin: add support for require calls
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 14:43:57 +01:00
Patrik Oldsberg 9e192d7f4a eslint-plugin: dogfood lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 14:43:54 +01:00
Patrik Oldsberg f459b168f0 eslint-plugin: add support for detecting Node.js builtins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 14:43:50 +01:00
Patrik Oldsberg 4d05d5bf83 eslint-plugin: refactor to ES2021 and add no-undeclared-imports rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 14:43:47 +01:00
Patrik Oldsberg 98b2bd1b51 eslint-plugin: added missing deps + lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 14:43:43 +01:00
Patrik Oldsberg 179d301518 added eslint-plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 14:43:36 +01:00