Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up unused or unnecessary dependencies #283

Merged
merged 12 commits into from
Nov 8, 2023
115 changes: 115 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
/*
👋 Hi! This file was autogenerated by tslint-to-eslint-config.
https://github.com/typescript-eslint/tslint-to-eslint-config

It represents the closest reasonable ESLint configuration to this
project's original TSLint configuration.

We recommend eventually switching this configuration to extend from
the recommended rulesets in typescript-eslint.
https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md

Happy linting! 💖
*/
module.exports = {
"env": {
"es6": true,
"node": true
},
"ignorePatterns": ["/webview-ui/*", "*.js"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module"
},
"plugins": [
"eslint-plugin-prefer-arrow",
"@typescript-eslint"
],
"root": true,
"rules": {
"@typescript-eslint/member-delimiter-style": [
"warn",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "variable",
"format": [
"camelCase",
"UPPER_CASE"
],
"leadingUnderscore": "forbid",
"trailingUnderscore": "forbid"
}
],
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/semi": [
"warn",
"always"
],
"@typescript-eslint/type-annotation-spacing": "warn",
"curly": [
"warn",
"multi-line"
],
"eqeqeq": [
"warn",
"always"
],
"id-denylist": [
"warn",
"any",
"Number",
"number",
"String",
"string",
"Boolean",
"boolean",
"Undefined",
"undefined"
],
"id-match": "warn",
"no-debugger": "warn",
"no-fallthrough": "warn",
"no-multiple-empty-lines": "warn",
"no-trailing-spaces": "warn",
"no-underscore-dangle": "warn",
"no-unused-vars": "off",
"no-var": "warn",
"prefer-arrow/prefer-arrow-functions": [
"warn",
{
"allowStandaloneDeclarations": true
}
],
"prefer-const": "warn",
"prefer-template": "warn",
"quote-props": [
"warn",
"as-needed"
],
"semi": "off",
"spaced-comment": [
"warn",
"always",
{
"markers": [
"/"
]
}
]
}
};
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"eg2.tslint",
"eamodio.tsl-problem-matcher"
"dbaeumer.vscode-eslint",
"amodio.tsl-problem-matcher"
]
}