Skip to content

Commit

Permalink
Update eslint et al (compiler-explorer#5115)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt authored Jun 7, 2023
1 parent 02ce6e6 commit 4187390
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 31 deletions.
1 change: 0 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ rules:
jsdoc/check-tag-names: off
jsdoc/check-types: error
jsdoc/empty-tags: error
jsdoc/newline-after-description: error
jsdoc/require-hyphen-before-param-description: error
jsdoc/valid-types: error
no-multiple-empty-lines:
Expand Down
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ if (opts.tmpDir) {
} else if (process.env.wsl) {
// Dec 2017 preview builds of WSL include /bin/wslpath; do the parsing work for now.
// Parsing example %TEMP% is C:\Users\apardoe\AppData\Local\Temp
const windowsTemp = child_process.execSync('cmd.exe /c echo %TEMP%').toString().replace(/\\/g, '/');
const windowsTemp = child_process.execSync('cmd.exe /c echo %TEMP%').toString().replaceAll('\\', '/');
const driveLetter = windowsTemp.substring(0, 1).toLowerCase();
const directoryPath = windowsTemp.substring(2).trim();
process.env.winTmp = path.join('/mnt', driveLetter, directoryPath);
Expand Down
1 change: 0 additions & 1 deletion lib/.eslint-ce-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ rules:
jsdoc/check-tag-names: off
jsdoc/check-types: warn
jsdoc/empty-tags: warn
jsdoc/newline-after-description: warn
jsdoc/require-hyphen-before-param-description: warn
jsdoc/valid-types: warn
sonarjs/no-collection-size-mischeck: error
Expand Down
61 changes: 36 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@
"eslint-formatter-github": "^1.1.3",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsdoc": "^40.0.1",
"eslint-plugin-jsdoc": "^46.2.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-requirejs": "^4.0.1",
"eslint-plugin-sonarjs": "^0.19.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-unicorn": "^47.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"file-loader": "^6.2.0",
"lint-staged": "^13.0.3",
Expand Down
1 change: 0 additions & 1 deletion static/.eslint-ce-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ rules:
jsdoc/check-tag-names: off
jsdoc/check-types: warn
jsdoc/empty-tags: warn
jsdoc/newline-after-description: warn
jsdoc/require-hyphen-before-param-description: warn
jsdoc/valid-types: warn
sonarjs/no-collection-size-mischeck: error
Expand Down

0 comments on commit 4187390

Please sign in to comment.