You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2025/12/15 15:49:00 UTC
(tooling-trusted-releases) 02/02: Remove unused JS configuration files and settings
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit cf7e2f6e4a7e29ec374f8ef27694abd87749358b
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Mon Dec 15 15:44:27 2025 +0000
Remove unused JS configuration files and settings
---
.gitignore | 1 -
eslint.config.mjs | 37 -------------------------------------
package.json | 11 -----------
3 files changed, 49 deletions(-)
diff --git a/.gitignore b/.gitignore
index 1a13f0a..f2a2641 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,5 +15,4 @@ bootstrap/build/
dev/
/docs/
node_modules/
-package-lock.json
state/
diff --git a/eslint.config.mjs b/eslint.config.mjs
deleted file mode 100644
index a72c229..0000000
--- a/eslint.config.mjs
+++ /dev/null
@@ -1,37 +0,0 @@
-// eslint.config.mjs
-import eslint from "@eslint/js";
-import tseslint from "typescript-eslint";
-import globals from "globals";
-
-export default tseslint.config(
- {
- ignores: [
- "atr/static/js/**/*.js",
- "node_modules/",
- "dist/",
- "build/",
- "coverage/",
- ".venv/",
- "eslint.config.mjs"
- ]
- },
- eslint.configs.recommended,
- ...tseslint.configs.recommended,
- ...tseslint.configs.recommendedTypeChecked,
- {
- languageOptions: {
- parserOptions: { project: true, tsconfigRootDir: import.meta.dirname },
- globals: { ...globals.browser }
- },
- rules: {
- "no-console": "warn",
- "no-debugger": "warn",
- "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
- "@typescript-eslint/no-explicit-any": "warn",
- "@typescript-eslint/explicit-function-return-type": "error",
- "@typescript-eslint/explicit-module-boundary-types": "error",
- "@typescript-eslint/no-floating-promises": "error",
- "@typescript-eslint/consistent-type-imports": "error"
- }
- }
-);
diff --git a/package.json b/package.json
deleted file mode 100644
index 8db2c6d..0000000
--- a/package.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "scripts": {
- "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
- },
- "devDependencies": {
- "eslint": "^9.0.0",
- "globals": "^15.0.0",
- "typescript": "^5.0.0",
- "typescript-eslint": "latest"
- }
-}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org