File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ import baseConfig from "../eslint.config.mjs" ;
2+
3+ // We use the same ESLint configuration as for the main codebase, and only override what we need.
4+ export default [
5+ ...baseConfig ,
6+ {
7+ languageOptions : {
8+ parserOptions : {
9+ // Use the correct `tsconfig.json` for `pr-checks`.
10+ project : "./pr-checks/tsconfig.json" ,
11+ } ,
12+ } ,
13+ } ,
14+ {
15+ rules : {
16+ // The scripts in `pr-checks` are expected to output to the console.
17+ "no-console" : "off"
18+ }
19+ }
20+ ] ;
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "description" : " Dependencies for the sync.ts" ,
4+ "scripts" : {
5+ "lint" : " eslint --report-unused-disable-directives --max-warnings=0 ."
6+ },
47 "dependencies" : {
58 "yaml" : " ^2.8.2"
69 },
You can’t perform that action at this time.
0 commit comments