"name": "@studio/eslint-config", "version": "7.0.0", "description": "The JavaScript Studio sharable eslint config", "main": "index.js", "main": "eslint.config.js", "type": "module", "author": "Maximilian Antoni <max@javascript.studio>", "homepage": "https://github.com/jav...
yarn add eslint@latest --dev 在项目配置中使用 eslint.useFlatConfig: 对于ESLint 的 Flat 配置,你需要创建一个名为 eslint.config.js 的文件(如果你还没有的话),并在其中使用 Flat 配置格式。同时,确保在 VSCode 的设置中启用 Flat 配置。 首先,创建一个 eslint.config.js 文件,并添加以下内容: java...
"Host": ":", "Starttime": 1716664726.372, "JobRuntime": 0.486, "Send": 0, "Receive": 0, "Exitval": 2, "Signal": 0, "Command": "eslint --no-eslintrc -c /action/lib/.automation/.eslintrc.yml /tmp/lint/src/app.ts /tmp/lint/src/config.ts /tmp/lint/src/errorHandler.ts ...
"eslint.experimental.useFlatConfig": true, "editor.formatOnSave": false, "editor.quickSuggestions": { "strings": true }, "editor.tabSize": 2, "files.associations": { "*.env.*": "dotenv", "*.svg": "html" }, "files.eol": "\n", "eslint.validate": ["html", "css", "scss"...
Bug Report Checklist I have tried restarting my IDE and the issue persists. I have pulled the latest main branch of the repository. I have searched for related issues and found none that matched my issue. Expected The vscode-eslint exten...
chore: use eslint flat config 4 changes: 0 additions & 4 deletions 4 .eslintrc.cjs Load diff This file was deleted. 3 changes: 2 additions & 1 deletion 3 .vscode/.cspell/other.txt Original file line numberDiff line numberDiff line change @@ -12,13 +12,14 @@ infile jiti mul...
Flat Config is enabled by default in ESLint v9. So I removed the option. ref1:https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint ref2:https://eslint.org/docs/latest/use/configure/migration-guide#visual-studio-code-support ...
Find and fix problems in your JavaScript code. Contribute to eslint/eslint development by creating an account on GitHub.
Fixes #1885: JSON schema for useFlatConfig can be more specific #1890 dbaeumer merged 1 commit into main from dbaeumer/vivacious-felidae-green Jun 24, 2024 +1 −1 Conversation 0 Commits 1 Checks 5 Files changed 1 Conversation Member dbaeumer commented Jun 24, 2024 Fixes #1885 Sorry...
"source.fixAll.eslint": true "source.fixAll.eslint": "explicit", "source.organizeImports": "never" }, "editor.fontLigatures": true, "eslint.experimental.useFlatConfig": true, "editor.formatOnSave": false, "editor.quickSuggestions": { "strings": true }, "editor.tabSize": 2, "files...