Skip to content
66 changes: 0 additions & 66 deletions oxlint-suppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,29 @@
".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
}
},
".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": {
Expand All @@ -71,9 +40,6 @@
"no-useless-return": {
"count": 1
},
"node/no-process-env": {
"count": 5
},
"object-shorthand": {
"count": 1
},
Expand Down Expand Up @@ -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
}
Expand Down
19 changes: 7 additions & 12 deletions oxlint.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down