Skip to content

Commit 59cf1a4

Browse files
authored
fix: properly disable dependabot and fix lint for non-lintable files (#7)
1 parent dcf88cb commit 59cf1a4

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
# Dependabot disabled - we manage dependencies manually
2+
# Using open-pull-requests-limit: 0 to disable version updates
3+
# See: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
24
version: 2
3-
updates: []
5+
updates:
6+
- package-ecosystem: npm
7+
directory: /
8+
schedule:
9+
interval: yearly
10+
open-pull-requests-limit: 0

scripts/lint.mjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,14 @@ function shouldRunAllLinters(changedFiles) {
6363
* Filter files to only those that should be linted.
6464
*/
6565
function filterLintableFiles(files) {
66+
// Only include extensions actually supported by oxfmt/oxlint
6667
const lintableExtensions = new Set([
6768
'.js',
6869
'.mjs',
6970
'.cjs',
7071
'.ts',
7172
'.cts',
7273
'.mts',
73-
'.json',
74-
'.jsonc',
75-
'.md',
76-
'.yml',
77-
'.yaml',
7874
])
7975

8076
return files.filter(file => {

0 commit comments

Comments
 (0)