Skip to content

Commit c2a5cd1

Browse files
committed
fix(ci): tighten editorconfig-checker config
The Disable section was entirely a no-op — every entry was false, which is the default when IgnoreDefaults is false. Remove it so the config matches observable behavior. Exclude patterns were unanchored regexes, causing "vendor" to silence .github/vendored-dependencies.csv, which has CRLF line endings. Anchor all patterns, fix the CRLF in that file, and add .nyc_output/ and coverage/ to guard against local false positives from coverage artifacts.
1 parent 3129fb4 commit c2a5cd1

2 files changed

Lines changed: 9 additions & 14 deletions

File tree

.editorconfig-checker.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,13 @@
55
"SpacesAfterTabs": false,
66
"NoColor": false,
77
"Exclude": [
8-
"LICENSE",
9-
"LICENSE.*",
10-
"packages/dd-trace/test/appsec/bad-formatted-rules.json",
11-
"packages/dd-trace/test/llmobs/cassettes",
12-
"vendor"
8+
"^\\.nyc_output/",
9+
"^LICENSE",
10+
"^coverage/",
11+
"^packages/dd-trace/test/appsec/bad-formatted-rules\\.json$",
12+
"^packages/dd-trace/test/llmobs/cassettes/",
13+
"^vendor/"
1314
],
1415
"AllowedContentTypes": [],
15-
"PassedFiles": [],
16-
"Disable": {
17-
"Indentation": false,
18-
"IndentSize": false,
19-
"MaxLineLength": false,
20-
"Charset": false
21-
}
16+
"PassedFiles": []
2217
}

.github/vendored-dependencies.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
"aws-lambda-nodejs-runtime-interface-client","https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/blob/v2.1.0/src/utils/UserFunction.ts","['Apache-2.0']","['Amazon.com Inc. or its affiliates']"
2-
"is-git-url","https://github.com/jonschlinkert/is-git-url/blob/396965ffabf2f46656c8af4c47bef1d69f09292e/index.js#L9C15-L9C87","['MIT']","['Jon Schlinkert']"
1+
"aws-lambda-nodejs-runtime-interface-client","https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/blob/v2.1.0/src/utils/UserFunction.ts","['Apache-2.0']","['Amazon.com Inc. or its affiliates']"
2+
"is-git-url","https://github.com/jonschlinkert/is-git-url/blob/396965ffabf2f46656c8af4c47bef1d69f09292e/index.js#L9C15-L9C87","['MIT']","['Jon Schlinkert']"

0 commit comments

Comments
 (0)