fix: standardize version parsing and simplify string escaping
This commit is contained in:
1 parent
4e2b6b1200
commit
38a7c3da63
23 files changed
+245
-137
No files matched your search
+1
-4
@@ -6,10 +6,7 @@ import { defineConfig, globalIgnores } from 'eslint/config';
|
||||
import globals from 'globals';
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
const tsconfigRootDir = decodeURIComponent(new URL('.', import.meta.url).pathname).replace(
|
||||
/^\/(.:\/)/,
|
||||
'$1',
|
||||
);
|
||||
const tsconfigRootDir = import.meta.dirname;
|
||||
|
||||
export const sourceIgnores = globalIgnores([
|
||||
'**/dist/**',
|
||||
|
||||
Reference in new issue
Block a user