diff --git a/oxlint-suppressions.json b/oxlint-suppressions.json index 7981f1a7..9d795aba 100644 --- a/oxlint-suppressions.json +++ b/oxlint-suppressions.json @@ -2,50 +2,22 @@ ".github/actions/playwright-test-health-report/create-playwright-test-health-report.mjs": { "n/hashbang": { "count": 1 - }, - "node/no-process-env": { - "count": 12 - } - }, - ".github/scripts/clean-release-changelog.mts": { - "node/no-process-env": { - "count": 3 - }, - "node/no-sync": { - "count": 4 } }, ".github/scripts/create-flaky-test-report.mjs": { "n/hashbang": { "count": 1 - }, - "node/no-process-env": { - "count": 11 } }, ".github/scripts/generate-rc-commits.mjs": { "import/no-named-as-default": { "count": 1 }, - "node/no-process-env": { - "count": 2 - }, - "node/no-sync": { - "count": 1 - }, "unicorn/no-process-exit": { "count": 2 } }, - ".github/scripts/merge-previous-release-changelog.mts": { - "node/no-sync": { - "count": 3 - } - }, ".github/scripts/post-merge-validation-tracker.mjs": { - "node/no-process-env": { - "count": 6 - }, "unicorn/no-process-exit": { "count": 1 } @@ -53,9 +25,6 @@ ".github/scripts/post-relay-subsidy-balance.mjs": { "import/unambiguous": { "count": 1 - }, - "node/no-process-env": { - "count": 3 } }, ".github/scripts/remove-rca-needed-label-sheets.ts": { @@ -71,9 +40,6 @@ "no-useless-return": { "count": 1 }, - "node/no-process-env": { - "count": 5 - }, "object-shorthand": { "count": 1 }, @@ -111,47 +77,15 @@ "count": 1 } }, - ".github/scripts/shared/environment.mts": { - "node/no-process-env": { - "count": 1 - } - }, - ".github/scripts/shared/report.mts": { - "node/no-sync": { - "count": 2 - } - }, - ".github/scripts/slack-release-testing.mjs": { - "node/no-process-env": { - "count": 6 - } - }, ".github/scripts/stable-sync.js": { "import/unambiguous": { "count": 1 }, "n/hashbang": { "count": 1 - }, - "node/no-process-env": { - "count": 3 - } - }, - ".github/scripts/update-release-changelog.mts": { - "node/no-process-env": { - "count": 12 - }, - "node/no-sync": { - "count": 17 } }, ".github/scripts/update-release-sheet.mjs": { - "node/no-process-env": { - "count": 1 - }, - "node/no-sync": { - "count": 1 - }, "unicorn/no-process-exit": { "count": 1 } diff --git a/oxlint.config.mts b/oxlint.config.mts index cbae98fd..4409d414 100644 --- a/oxlint.config.mts +++ b/oxlint.config.mts @@ -41,23 +41,18 @@ export default createConfig({ '.github/**/*.test.{mjs,mts}', '.github/scripts/tests/**', ], - extends: [ - nodejs, - vitest, - { - // Tests read the environment and use synchronous APIs for fixtures. - rules: { - 'node/no-process-env': 'off', - 'node/no-sync': 'off', - }, - }, - ], + extends: [nodejs, vitest], + rules: { + 'node/no-process-env': 'off', + 'node/no-sync': 'off', + }, }, { // The workflow scripts are command line programs: they read their inputs // from the environment and can use synchronous APIs. - files: ['.github/**'], + files: ['.github/**/*.{js,mjs,mts,ts}'], + extends: [nodejs], rules: { 'node/no-process-env': 'off', 'node/no-sync': 'off',