n8n/packages/@n8n_io/eslint-config
Iván Ovejero d1b2affd2c
ci: Add lint rule no-dynamic-import-template (no-changelog) (#8089)
Follow-up to: https://github.com/n8n-io/n8n/pull/8086

`tsc-alias` as of 1.8.7 is unable to resolve template strings in dynamic
imports. Since the module name mapper in Jest is able to, this issue is
hard to detect, hence the new lint rule `no-dynamic-import-template`.
This is for now specific to `@/` in the `cli` package - we can
generalize later if needed. Ideally we should contribute a fix upstream
when we have more time.

<img width="940" alt="Capture 2023-12-19 at 12 39 55@2x"
src="https://github.com/n8n-io/n8n/assets/44588767/78d4a277-ccff-455c-8610-d1bba39d93f2">
2023-12-21 14:15:37 +01:00
..
base.js ci: Remove unnecessary async/await, enable await-thenable linting rule (no-changelog) (#8076) 2023-12-19 13:52:42 +01:00
frontend.js ci: Introduce no-plain-errors lint rule for BE packages (no-changelog) (#7961) 2023-12-08 12:51:49 +01:00
jest.config.js feat: setup nightly tests for postgres and mysql schemas (#4441) 2022-10-25 22:06:03 +02:00
local-rules.js ci: Add lint rule no-dynamic-import-template (no-changelog) (#8089) 2023-12-21 14:15:37 +01:00
local-rules.test.js refactor: lint for inefficient deep clones (#4378) 2022-10-19 09:36:25 +02:00
node.js feat: Switch from npm to pnpm (#4429) 2022-11-09 17:32:05 +01:00
package.json feat(editor): De-duplicate frontend devDependencies (no-changelog) (#8094) 2023-12-19 17:43:46 +01:00
shared.js feat: Allow eslint-config to be externally consumable (#6694) 2023-07-19 09:35:10 +02:00