-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy patheslint.config.mjs
More file actions
33 lines (32 loc) 路 1.04 KB
/
Copy patheslint.config.mjs
File metadata and controls
33 lines (32 loc) 路 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import base from '@constructive-io/eslint-config';
export default [
...base,
{
ignores: [
// fixtures and their expected codegen output
'__fixtures__/**',
'**/__snapshots__/**',
// protobuf codegen (build:proto)
'packages/utils/src/asts.ts',
'packages/utils/src/runtime-schema.ts',
'packages/utils/src/wrapped.ts',
'packages/traverse/src/18/**',
'packages/transform-ast/src/{13,14,15,16,17,18}/**',
'packages/proto-parser/test-utils/**',
// inferred/generated types and keyword list
'packages/pgsql-types/src/types.ts',
'packages/quotes/src/kwlist.ts',
// generated kitchen-sink test files
'**/__tests__/kitchen-sink/**'
]
},
{
// per-version transformers mirror the AST shape field for field, including
// identity assignments and empty node payloads such as `{ Null: {} }`
files: ['packages/transform-ast/src/transformers/**'],
rules: {
'no-self-assign': 'off',
'@typescript-eslint/no-empty-object-type': 'off'
}
}
];