eslint-plugin-svelte
Advanced tools
Comparing version 2.14.0 to 2.14.1
@@ -20,3 +20,3 @@ "use strict"; | ||
const projectRootDir = getProjectRootDir(context.getFilename()) ?? ""; | ||
const fileName = filePath.split("/").pop() || filePath; | ||
const fileName = path_1.default.basename(filePath); | ||
return (filePath.startsWith(path_1.default.join(projectRootDir, routes)) && | ||
@@ -23,0 +23,0 @@ Boolean(/^\+.+\.svelte$/.test(fileName))); |
{ | ||
"name": "eslint-plugin-svelte", | ||
"version": "2.14.0", | ||
"version": "2.14.1", | ||
"description": "ESLint plugin for Svelte using AST", | ||
@@ -120,3 +120,3 @@ "repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git", | ||
"env-cmd": "^10.1.0", | ||
"esbuild": "^0.15.0", | ||
"esbuild": "^0.16.0", | ||
"esbuild-register": "^3.2.0", | ||
@@ -169,3 +169,3 @@ "escape-html": "^1.0.3", | ||
"typescript": "^4.9.3", | ||
"vite": "^3.1.0-0", | ||
"vite": "^4.0.0", | ||
"vite-plugin-svelte-md": "^0.1.5", | ||
@@ -172,0 +172,0 @@ "yaml": "^2.1.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
506551