diff --git a/.eslintrc b/.eslintrc.json similarity index 98% rename from .eslintrc rename to .eslintrc.json index 1a434bd5..1c411dbb 100644 --- a/.eslintrc +++ b/.eslintrc.json @@ -123,7 +123,6 @@ } ], "no-console": "error", - //"linebreak-style": ["error", "unix"], "linebreak-style": 0, "semi": [2, "always"], "arrow-spacing": [ diff --git a/package.json b/package.json index af56d7f6..695b34b3 100644 --- a/package.json +++ b/package.json @@ -114,8 +114,8 @@ "generate:mcp:docs": "cd mcp-server && npm ci && npm run bundle-docs", "generate:commands": "npm run generate:readme:commands", "generate:readme:toc": "markdown-toc -i README.md && markdown-toc -i ./docs/usage.md && markdown-toc -i ./docs/migrations/v0.md && markdown-toc -i ./docs/README.md && markdown-toc -i ./docs/contributing.md ", - "lint": "eslint --max-warnings 0 --config .eslintrc . && npm run typecheck:test", - "lint:fix": "eslint --max-warnings 0 --config .eslintrc . --fix && npm run typecheck:test", + "lint": "ESLINT_USE_FLAT_CONFIG=false eslint --max-warnings 0 . && npm run typecheck:test", + "lint:fix": "ESLINT_USE_FLAT_CONFIG=false eslint --max-warnings 0 . --fix && npm run typecheck:test", "format": "prettier \"./src/**/*.ts\" --write", "pack:all": "npm run pack:macos && npm run pack:linux && npm run pack:tarballs && npm run pack:windows", "pack:macos": "oclif pack macos && npm run pack:rename",