cache-apt-pkgs-action/eslint.config.js
Andrew Walsh 16d0f3489d
ci: fix linters, action pin check and npm audit failures (#232)
- 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>
2026-11-05 17:26:06 -08:00

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: {},
},
];