Skip to content

Commit

Permalink
Merge pull request #22 from wtto00/dependabot/npm_and_yarn/types/moch…
Browse files Browse the repository at this point in the history
…a-10.0.8

Bump @types/mocha from 10.0.7 to 10.0.8
  • Loading branch information
wtto00 authored Sep 22, 2024
2 parents fdfd65b + 8915c62 commit ef9d8b5
Show file tree
Hide file tree
Showing 6 changed files with 113 additions and 81 deletions.
19 changes: 0 additions & 19 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ name: Lint & Test
on:
# Triggers the workflow on push or pull request events but only for the main branch
pull_request:
types:
- opened
branches:
- main

Expand Down
17 changes: 17 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";

/** @type {import('typescript-eslint').ConfigWithExtends[]} */
export default [
{ files: ["src/**/*.{js,mjs,cjs,ts}"] },
{ languageOptions: { globals: globals.node } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-unused-vars': ['error', { "caughtErrorsIgnorePattern": "^_" }]
}
}
];
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,26 @@
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --fix --ext ts",
"lint": "eslint src/**/*.ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@eslint/js": "^9.11.0",
"@types/glob": "^8.1.0",
"@types/i18n": "^0.13.12",
"@types/mocha": "^10.0.7",
"@types/mocha": "^10.0.8",
"@types/node": "~22.5.4",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.10.0",
"glob": "^11.0.0",
"globals": "^15.9.0",
"mocha": "^10.7.3",
"ts-loader": "^9.5.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.6.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"packageManager": "pnpm@9.10.0+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"
"packageManager": "pnpm@9.10.0"
}
Loading

0 comments on commit ef9d8b5

Please sign in to comment.