mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-11-14 05:46:50 +00:00
- eslint: parse scripts/**/*.{ts,mts} with the TypeScript parser.
Only src and test were configured, so the scripts failed to parse.
- action-deps-pinned: run the --scan check over .github. The step passed
./action.yml, which the script doesn't accept, and action.yml has no
uses: dependencies to check anyway.
- npm audit fix for the high severity advisories in production
dependencies (undici, brace-expansion) and @actions/artifact 6.3.1.
The remaining moderate glob/minimatch advisories need a breaking
@actions/artifact downgrade, and the audit step only fails on high.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
387 B
JavaScript
22 lines
387 B
JavaScript
import tsParser from "@typescript-eslint/parser";
|
|
|
|
export default [
|
|
{
|
|
ignores: ["dist/**", "node_modules/**", "target/**"],
|
|
},
|
|
{
|
|
files: [
|
|
"src/**/*.ts",
|
|
"test/**/*.ts",
|
|
"scripts/**/*.ts",
|
|
"scripts/**/*.mts",
|
|
],
|
|
languageOptions: {
|
|
parser: tsParser,
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
},
|
|
rules: {},
|
|
},
|
|
];
|