Skip to content

Commit

Permalink
Clean up unused or unnecessary dependencies (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbom committed Nov 8, 2023
1 parent 76fd5a7 commit 04641f5
Show file tree
Hide file tree
Showing 13 changed files with 1,524 additions and 5,828 deletions.
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"
]
}

0 comments on commit 04641f5

Please sign in to comment.