about summary refs log tree commit diff
path: root/users/Profpatsch
diff options
context:
space:
mode:
Diffstat (limited to 'users/Profpatsch')
-rw-r--r--users/Profpatsch/.prettierrc8
-rw-r--r--users/Profpatsch/.vscode/launch.json9
-rw-r--r--users/Profpatsch/eslint.config.mjs80
l---------[-rw-r--r--]users/Profpatsch/lyric/.prettierrc9
-rw-r--r--users/Profpatsch/lyric/eslint.config.mjs72
l---------[-rw-r--r--]users/Profpatsch/lyric/extension/.prettierrc9
-rw-r--r--users/Profpatsch/lyric/extension/eslint.config.mjs72
-rw-r--r--users/Profpatsch/package.json17
8 files changed, 120 insertions, 156 deletions
diff --git a/users/Profpatsch/.prettierrc b/users/Profpatsch/.prettierrc
new file mode 100644
index 000000000000..e97f84abaf62
--- /dev/null
+++ b/users/Profpatsch/.prettierrc
@@ -0,0 +1,8 @@
+{
+  "trailingComma": "all",
+  "tabWidth": 2,
+  "semi": true,
+  "singleQuote": true,
+  "printWidth": 90,
+  "arrowParens": "avoid"
+}
diff --git a/users/Profpatsch/.vscode/launch.json b/users/Profpatsch/.vscode/launch.json
index 54f510e091ec..dca6a4dc617c 100644
--- a/users/Profpatsch/.vscode/launch.json
+++ b/users/Profpatsch/.vscode/launch.json
@@ -5,6 +5,15 @@
     "version": "0.2.0",
     "configurations": [
         {
+            "name": "node: Attach to running process",
+            "port": 9229,
+            "request": "attach",
+            "skipFiles": [
+                "<node_internals>/**"
+            ],
+            "type": "node"
+        },
+        {
             "name": "run declib",
             "type": "node",
             "cwd": "${workspaceFolder}/declib",
diff --git a/users/Profpatsch/eslint.config.mjs b/users/Profpatsch/eslint.config.mjs
new file mode 100644
index 000000000000..0f6d19723794
--- /dev/null
+++ b/users/Profpatsch/eslint.config.mjs
@@ -0,0 +1,80 @@
+import tseslint from 'typescript-eslint';
+import tsplugin from '@typescript-eslint/eslint-plugin';
+import parser from '@typescript-eslint/parser';
+
+let recommended = { ...tseslint.configs.eslintRecommended };
+
+let set = tseslint.config(recommended, {
+  languageOptions: {
+    parser: parser,
+    parserOptions: {
+      projectService: true,
+    },
+  },
+  plugins: { '@typescript-eslint': tsplugin },
+  rules: {
+    'prettier/prettier': 'off',
+    'prefer-const': 'warn',
+    '@typescript-eslint/ban-ts-comment': 'warn',
+    'no-array-constructor': 'off',
+    '@typescript-eslint/no-array-constructor': 'warn',
+    '@typescript-eslint/no-duplicate-enum-values': 'warn',
+    '@typescript-eslint/no-empty-object-type': 'warn',
+    '@typescript-eslint/no-explicit-any': 'warn',
+    '@typescript-eslint/no-extra-non-null-assertion': 'warn',
+    '@typescript-eslint/no-misused-new': 'warn',
+    '@typescript-eslint/no-namespace': 'warn',
+    '@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
+    '@typescript-eslint/no-require-imports': 'warn',
+    '@typescript-eslint/no-this-alias': 'warn',
+    '@typescript-eslint/no-unnecessary-type-constraint': 'warn',
+    '@typescript-eslint/no-unsafe-declaration-merging': 'warn',
+    '@typescript-eslint/no-unsafe-function-type': 'warn',
+    '@typescript-eslint/strict-boolean-expressions': ['warn'],
+    'no-unused-expressions': 'off',
+    '@typescript-eslint/no-unused-expressions': 'warn',
+    'no-unused-vars': 'off',
+    '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
+    '@typescript-eslint/no-wrapper-object-types': 'warn',
+    '@typescript-eslint/prefer-as-const': 'warn',
+    '@typescript-eslint/prefer-namespace-keyword': 'warn',
+    '@typescript-eslint/triple-slash-reference': 'warn',
+
+    '@typescript-eslint/await-thenable': 'warn',
+    'no-array-constructor': 'off',
+    '@typescript-eslint/no-array-delete': 'warn',
+    '@typescript-eslint/no-base-to-string': 'warn',
+    '@typescript-eslint/no-duplicate-type-constituents': 'warn',
+    '@typescript-eslint/no-floating-promises': 'warn',
+    '@typescript-eslint/no-for-in-array': 'warn',
+    'no-implied-eval': 'off',
+    '@typescript-eslint/no-implied-eval': 'warn',
+    '@typescript-eslint/no-misused-promises': 'warn',
+    '@typescript-eslint/no-redundant-type-constituents': 'warn',
+    '@typescript-eslint/no-unnecessary-type-assertion': 'warn',
+    '@typescript-eslint/no-unsafe-argument': 'warn',
+    '@typescript-eslint/no-unsafe-assignment': 'warn',
+    '@typescript-eslint/no-unsafe-call': 'warn',
+    '@typescript-eslint/no-unsafe-enum-comparison': 'warn',
+    '@typescript-eslint/no-unsafe-member-access': 'warn',
+    '@typescript-eslint/no-unsafe-return': 'warn',
+    '@typescript-eslint/no-unsafe-unary-minus': 'warn',
+    'no-throw-literal': 'off',
+    '@typescript-eslint/only-throw-error': 'warn',
+    'prefer-promise-reject-errors': 'off',
+    '@typescript-eslint/prefer-promise-reject-errors': 'warn',
+    'require-await': 'off',
+    '@typescript-eslint/require-await': 'warn',
+    '@typescript-eslint/restrict-plus-operands': 'warn',
+    '@typescript-eslint/restrict-template-expressions': 'warn',
+    '@typescript-eslint/unbound-method': 'warn',
+  },
+});
+
+// override files for each set
+const files = ['src/**/*.ts', 'src/**/*.tsx'];
+for (let s of set) {
+  s.files = files;
+}
+
+export default set;
diff --git a/users/Profpatsch/lyric/.prettierrc b/users/Profpatsch/lyric/.prettierrc
index e97f84abaf62..5b5fb8c8b256 100644..120000
--- a/users/Profpatsch/lyric/.prettierrc
+++ b/users/Profpatsch/lyric/.prettierrc
@@ -1,8 +1 @@
-{
-  "trailingComma": "all",
-  "tabWidth": 2,
-  "semi": true,
-  "singleQuote": true,
-  "printWidth": 90,
-  "arrowParens": "avoid"
-}
+../.prettierrc
\ No newline at end of file
diff --git a/users/Profpatsch/lyric/eslint.config.mjs b/users/Profpatsch/lyric/eslint.config.mjs
index 1bb60bf639d6..60ee4ab9b8c2 100644
--- a/users/Profpatsch/lyric/eslint.config.mjs
+++ b/users/Profpatsch/lyric/eslint.config.mjs
@@ -1,71 +1,3 @@
-import tseslint from 'typescript-eslint';
-import tsplugin from '@typescript-eslint/eslint-plugin';
-import parser from '@typescript-eslint/parser';
+import config from '../eslint.config.mjs';
 
-export default tseslint.config(tseslint.configs.eslintRecommended, {
-  languageOptions: {
-    parser: parser,
-    parserOptions: {
-      projectService: true,
-    },
-  },
-  ignores: ['node_modules/', 'eslint.config.mjs'],
-  plugins: { '@typescript-eslint': tsplugin },
-  rules: {
-    'prettier/prettier': 'off',
-    'prefer-const': 'warn',
-    '@typescript-eslint/ban-ts-comment': 'warn',
-    'no-array-constructor': 'off',
-    '@typescript-eslint/no-array-constructor': 'warn',
-    '@typescript-eslint/no-duplicate-enum-values': 'warn',
-    '@typescript-eslint/no-empty-object-type': 'warn',
-    '@typescript-eslint/no-explicit-any': 'warn',
-    '@typescript-eslint/no-extra-non-null-assertion': 'warn',
-    '@typescript-eslint/no-misused-new': 'warn',
-    '@typescript-eslint/no-namespace': 'warn',
-    '@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
-    '@typescript-eslint/no-require-imports': 'warn',
-    '@typescript-eslint/no-this-alias': 'warn',
-    '@typescript-eslint/no-unnecessary-type-constraint': 'warn',
-    '@typescript-eslint/no-unsafe-declaration-merging': 'warn',
-    '@typescript-eslint/no-unsafe-function-type': 'warn',
-    '@typescript-eslint/strict-boolean-expressions': ['warn'],
-    'no-unused-expressions': 'off',
-    '@typescript-eslint/no-unused-expressions': 'warn',
-    'no-unused-vars': 'off',
-    '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
-    '@typescript-eslint/no-wrapper-object-types': 'warn',
-    '@typescript-eslint/prefer-as-const': 'warn',
-    '@typescript-eslint/prefer-namespace-keyword': 'warn',
-    '@typescript-eslint/triple-slash-reference': 'warn',
-
-    '@typescript-eslint/await-thenable': 'warn',
-    'no-array-constructor': 'off',
-    '@typescript-eslint/no-array-delete': 'warn',
-    '@typescript-eslint/no-base-to-string': 'warn',
-    '@typescript-eslint/no-duplicate-type-constituents': 'warn',
-    '@typescript-eslint/no-floating-promises': 'warn',
-    '@typescript-eslint/no-for-in-array': 'warn',
-    'no-implied-eval': 'off',
-    '@typescript-eslint/no-implied-eval': 'warn',
-    '@typescript-eslint/no-misused-promises': 'warn',
-    '@typescript-eslint/no-redundant-type-constituents': 'warn',
-    '@typescript-eslint/no-unnecessary-type-assertion': 'warn',
-    '@typescript-eslint/no-unsafe-argument': 'warn',
-    '@typescript-eslint/no-unsafe-assignment': 'warn',
-    '@typescript-eslint/no-unsafe-call': 'warn',
-    '@typescript-eslint/no-unsafe-enum-comparison': 'warn',
-    '@typescript-eslint/no-unsafe-member-access': 'warn',
-    '@typescript-eslint/no-unsafe-return': 'warn',
-    '@typescript-eslint/no-unsafe-unary-minus': 'warn',
-    'no-throw-literal': 'off',
-    '@typescript-eslint/only-throw-error': 'warn',
-    'prefer-promise-reject-errors': 'off',
-    '@typescript-eslint/prefer-promise-reject-errors': 'warn',
-    'require-await': 'off',
-    '@typescript-eslint/require-await': 'warn',
-    '@typescript-eslint/restrict-plus-operands': 'warn',
-    '@typescript-eslint/restrict-template-expressions': 'warn',
-    '@typescript-eslint/unbound-method': 'warn',
-  },
-});
+export default config;
diff --git a/users/Profpatsch/lyric/extension/.prettierrc b/users/Profpatsch/lyric/extension/.prettierrc
index e97f84abaf62..73b7c6b3dec9 100644..120000
--- a/users/Profpatsch/lyric/extension/.prettierrc
+++ b/users/Profpatsch/lyric/extension/.prettierrc
@@ -1,8 +1 @@
-{
-  "trailingComma": "all",
-  "tabWidth": 2,
-  "semi": true,
-  "singleQuote": true,
-  "printWidth": 90,
-  "arrowParens": "avoid"
-}
+../../.prettierrc
\ No newline at end of file
diff --git a/users/Profpatsch/lyric/extension/eslint.config.mjs b/users/Profpatsch/lyric/extension/eslint.config.mjs
index 1bb60bf639d6..9d3eef2c30d8 100644
--- a/users/Profpatsch/lyric/extension/eslint.config.mjs
+++ b/users/Profpatsch/lyric/extension/eslint.config.mjs
@@ -1,71 +1,3 @@
-import tseslint from 'typescript-eslint';
-import tsplugin from '@typescript-eslint/eslint-plugin';
-import parser from '@typescript-eslint/parser';
+import config from '../../eslint.config.mjs';
 
-export default tseslint.config(tseslint.configs.eslintRecommended, {
-  languageOptions: {
-    parser: parser,
-    parserOptions: {
-      projectService: true,
-    },
-  },
-  ignores: ['node_modules/', 'eslint.config.mjs'],
-  plugins: { '@typescript-eslint': tsplugin },
-  rules: {
-    'prettier/prettier': 'off',
-    'prefer-const': 'warn',
-    '@typescript-eslint/ban-ts-comment': 'warn',
-    'no-array-constructor': 'off',
-    '@typescript-eslint/no-array-constructor': 'warn',
-    '@typescript-eslint/no-duplicate-enum-values': 'warn',
-    '@typescript-eslint/no-empty-object-type': 'warn',
-    '@typescript-eslint/no-explicit-any': 'warn',
-    '@typescript-eslint/no-extra-non-null-assertion': 'warn',
-    '@typescript-eslint/no-misused-new': 'warn',
-    '@typescript-eslint/no-namespace': 'warn',
-    '@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
-    '@typescript-eslint/no-require-imports': 'warn',
-    '@typescript-eslint/no-this-alias': 'warn',
-    '@typescript-eslint/no-unnecessary-type-constraint': 'warn',
-    '@typescript-eslint/no-unsafe-declaration-merging': 'warn',
-    '@typescript-eslint/no-unsafe-function-type': 'warn',
-    '@typescript-eslint/strict-boolean-expressions': ['warn'],
-    'no-unused-expressions': 'off',
-    '@typescript-eslint/no-unused-expressions': 'warn',
-    'no-unused-vars': 'off',
-    '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
-    '@typescript-eslint/no-wrapper-object-types': 'warn',
-    '@typescript-eslint/prefer-as-const': 'warn',
-    '@typescript-eslint/prefer-namespace-keyword': 'warn',
-    '@typescript-eslint/triple-slash-reference': 'warn',
-
-    '@typescript-eslint/await-thenable': 'warn',
-    'no-array-constructor': 'off',
-    '@typescript-eslint/no-array-delete': 'warn',
-    '@typescript-eslint/no-base-to-string': 'warn',
-    '@typescript-eslint/no-duplicate-type-constituents': 'warn',
-    '@typescript-eslint/no-floating-promises': 'warn',
-    '@typescript-eslint/no-for-in-array': 'warn',
-    'no-implied-eval': 'off',
-    '@typescript-eslint/no-implied-eval': 'warn',
-    '@typescript-eslint/no-misused-promises': 'warn',
-    '@typescript-eslint/no-redundant-type-constituents': 'warn',
-    '@typescript-eslint/no-unnecessary-type-assertion': 'warn',
-    '@typescript-eslint/no-unsafe-argument': 'warn',
-    '@typescript-eslint/no-unsafe-assignment': 'warn',
-    '@typescript-eslint/no-unsafe-call': 'warn',
-    '@typescript-eslint/no-unsafe-enum-comparison': 'warn',
-    '@typescript-eslint/no-unsafe-member-access': 'warn',
-    '@typescript-eslint/no-unsafe-return': 'warn',
-    '@typescript-eslint/no-unsafe-unary-minus': 'warn',
-    'no-throw-literal': 'off',
-    '@typescript-eslint/only-throw-error': 'warn',
-    'prefer-promise-reject-errors': 'off',
-    '@typescript-eslint/prefer-promise-reject-errors': 'warn',
-    'require-await': 'off',
-    '@typescript-eslint/require-await': 'warn',
-    '@typescript-eslint/restrict-plus-operands': 'warn',
-    '@typescript-eslint/restrict-template-expressions': 'warn',
-    '@typescript-eslint/unbound-method': 'warn',
-  },
-});
+export default config;
diff --git a/users/Profpatsch/package.json b/users/Profpatsch/package.json
new file mode 100644
index 000000000000..42bbc52ebfdf
--- /dev/null
+++ b/users/Profpatsch/package.json
@@ -0,0 +1,17 @@
+{
+  "name": "profpatsch",
+  "version": "1.0.0",
+  "description": "Welcome, Welcome.",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "author": "",
+  "license": "MIT",
+  "devDependencies": {
+    "@eslint/js": "^9.11.1",
+    "@types/eslint__js": "^8.42.3",
+    "@typescript-eslint/parser": "^8.8.0",
+    "eslint": "^9.11.1",
+    "typescript-eslint": "^8.8.0"
+  }
+}