Skip to content

Commit 48c5bb9

Browse files
committed
lint
1 parent bfd07de commit 48c5bb9

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
dist/
2+
test-case-*.ts

modules/dev-tools/src/ts-plugins/ts-transform-remove-glsl-comments/index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@
1414
}
1515
*/
1616
import * as path from 'path';
17-
import type {
18-
Program,
19-
TransformationContext,
20-
SourceFile,
21-
Node,
22-
NoSubstitutionTemplateLiteral,
23-
TemplateLiteralToken
24-
} from 'typescript';
17+
import type {Program, TransformationContext, SourceFile, Node} from 'typescript';
2518
import type {TransformerExtras, PluginConfig} from 'ts-patch';
2619
import minimatch from 'minimatch';
2720

@@ -30,7 +23,6 @@ const INLINE_COMMENT_REGEX = /\s*\/\/.*[\n\r]/g;
3023
const BLOCK_COMMENT_REGEX = /\s*\/\*(\*(?!\/)|[^*])*\*\//g;
3124
const WHITESPACE_REGEX = /\s*[\n\r]\s*/gm;
3225
const DEFAULT_PATTERNS = [];
33-
const COMMENT_TAG = '@shader GLSL';
3426

3527
type RemoveGLSLCommentsPluginConfig = PluginConfig & {
3628
/** Glob patterns of shader files to include. */

0 commit comments

Comments
 (0)