mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
chore(workspace): tighten quality gates (#2230)
This commit is contained in:
1 parent
e6e4c6f7b5
commit
5c2dca1c51
123 files changed
+4925
-5640
No files matched your search
@@ -9,6 +9,7 @@ const APP_DIR = fileURLToPath(new URL('..', import.meta.url));
|
||||
const SOURCE_DIR = join(APP_DIR, 'src');
|
||||
const JSX_EXTENSIONS = new Set(['.tsx', '.jsx']);
|
||||
const SKIP_DIRS = new Set(['node_modules', 'dist', 'coverage', '.cache', '.swc']);
|
||||
const GENERATED_FILES = new Set([join(SOURCE_DIR, 'features', 'ui', 'components', 'SVGMasks.tsx')]);
|
||||
const NON_THEMEABLE_IDENTIFIERS = new Set([
|
||||
'Fragment',
|
||||
'I18nProvider',
|
||||
@@ -153,7 +154,9 @@ function collectFiles(paths) {
|
||||
files.push(absolute);
|
||||
}
|
||||
}
|
||||
return Array.from(new Set(files)).sort();
|
||||
return Array.from(new Set(files))
|
||||
.filter((file) => !GENERATED_FILES.has(file))
|
||||
.sort();
|
||||
}
|
||||
|
||||
function parseSource(source, filePath) {
|
||||
|
||||
Reference in new issue
Block a user