Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "oxc", "typescript"],
"jsPlugins": ["eslint-plugin-cypress"],
"jsPlugins": ["eslint-plugin-cypress", "eslint-plugin-local-import-ext"],
"env": {
"es2025": true,
"browser": true,
Expand Down Expand Up @@ -62,9 +62,17 @@
"typescript/no-non-null-assertion": "off",
"typescript/no-unused-expressions": "off",
"typescript/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "destructuredArrayIgnorePattern": "^_", "caughtErrors": "none" }],
// blocked by https://github.com/oxc-project/oxc/issues/19431
// use "lint:local-js-imports" npm script in the meantime to catch any missing local JS imports
// "import/extensions" rule is blocked by https://github.com/oxc-project/oxc/issues/19431
// use custom "eslint-plugin-import-ext" custom eslint plugin in the meantime to catch any missing local import file extensions
"import/extensions": "off",
"local-import-ext/require-local-extension": [
"error",
{
"js": "always",
"ts": "never",
"excludedFolders": ["demos/aurelia/test", "demos/react/test", "demos/vue/test", "frameworks/angular-slickgrid", "test"]
}
],
"import/no-self-import": "error",
"no-async-promise-executor": "off",
"oxc/erasing-op": "off",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@
"roll-new-release": "pnpm build && pnpm new-version && pnpm new-publish",
"build:dev": "pnpm -r --filter=vanilla-demo build:dev",
"serve:vite": "pnpm -r --filter=vanilla-demo dev",
"lint": "oxlint . && pnpm lint:local-js-imports",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"lint:local-js-imports": "node ./scripts/lint-local-js-imports.mjs",
"prettier:check": "prettier --check **/*.{html,js,ts,tsx,vue}",
"prettier:write": "prettier --write **/*.{html,js,ts,tsx,vue}",
"test": "vitest --config ./test/vitest.config.mts",
Expand Down Expand Up @@ -129,6 +128,7 @@
"cypress": "catalog:",
"cypress-real-events": "catalog:",
"eslint-plugin-cypress": "^6.4.1",
"eslint-plugin-local-import-ext": "0.2.0",
"globals": "catalog:",
"jsdom": "catalog:",
"jsdom-global": "catalog:",
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ minimumReleaseAge: 2880 # 2 days in minutes
minimumReleaseAgeExclude:
# exclude packages that I personally maintain and are safe to use on the same day
- '@lerna-lite/*'
# Renovate security update: hono@4.12.18
- hono@4.12.18
- 'eslint-plugin-local-import-ext'

catalog:
'@4tw/cypress-drag-drop': ^2.3.1
Expand Down
111 changes: 0 additions & 111 deletions scripts/lint-local-js-imports.mjs

This file was deleted.

Loading