Skip to content

Commit

Permalink
Disable TSC autodetection, print stack on exceptions, fix lint and de…
Browse files Browse the repository at this point in the history
…pendencies
  • Loading branch information
Your Name committed Sep 18, 2024
1 parent 5430975 commit c8eb66a
Show file tree
Hide file tree
Showing 23 changed files with 536 additions and 482 deletions.
20 changes: 0 additions & 20 deletions .eslintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"cmake.configureOnOpen": false,
"makefile.configureOnOpen": false
"makefile.configureOnOpen": false,
"typescript.tsc.autoDetect": "off",
}
24 changes: 24 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error", // or "error"
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
}
];
Loading

0 comments on commit c8eb66a

Please sign in to comment.