Skip to content

Commit

Permalink
fix: update packages and remove not needed interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hsimpson committed May 11, 2021
1 parent da03700 commit 40ab89a
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 208 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-glsllint",
"version": "1.4.0",
"version": "1.4.1",
"publisher": "CADENAS",
"repository": {
"type": "git",
Expand Down Expand Up @@ -148,25 +148,25 @@
"test": "webpack --config ./webpack.config.ts --mode production && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/node": "^14.14.10",
"@types/node": "^15.0.2",
"@types/vscode": "1.38.0",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"@typescript-eslint/typescript-estree": "^4.9.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.2.1",
"ts-loader": "^8.0.11",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"@typescript-eslint/typescript-estree": "^4.23.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.3.0",
"ts-loader": "^9.1.2",
"ts-node": "^9.0.0",
"vsce": "^1.81.1",
"vsce": "^1.88.0",
"vscode-test": "^1.4.1",
"webpack": "^5.9.0",
"webpack-cli": "^4.2.0"
"webpack": "^5.37.0",
"webpack-cli": "^4.7.0"
},
"dependencies": {
"glslify": "^7.1.1",
"typescript": "^4.1.2"
"typescript": "^4.2.4"
}
}
7 changes: 1 addition & 6 deletions src/features/glsllintProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ interface StringLiteral {
stage: string;
}

interface StageExpression {
stage: string;
expression: RegExp;
}

interface LanguageSetting {
parser: 'TSAST' | 'REGEX';
patternStart?: string;
Expand Down Expand Up @@ -203,7 +198,7 @@ export class GLSLLintingProvider {
// .glsl for .vert.glsl, .tesc.glsl, ..., .comp.glsl compound suffixes
// .hlsl for .vert.hlsl, .tesc.hlsl, ..., .comp.hlsl compound suffixes
if (fileName.endsWith('.glsl') || fileName.endsWith('.hlsl')) {
fileName = fileName.slice(0, -5) ;
fileName = fileName.slice(0, -5);
}

const additionalStageMappings = this.config.additionalStageAssociations;
Expand Down
Loading

0 comments on commit 40ab89a

Please sign in to comment.