-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheslint.config.mjs
46 lines (45 loc) · 1.38 KB
/
eslint.config.mjs
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
34
35
36
37
38
39
40
41
42
43
44
45
46
import { codemaskConfig, codemaskStylisticConfig } from 'eslint-config-codemask'
export default [
...codemaskConfig,
...codemaskStylisticConfig,
{
rules: {
camelcase: [
'warn',
{
allow: [
'bucket_script',
'buckets_path',
'bucket_selector',
'bucket_sort',
'date_histogram',
'calendar_interval',
'stats_bucket',
'top_hits',
'value_count',
'min_doc_count',
'sum_other_doc_count',
'doc_count',
'max_score',
'missing_bucket',
'missing_order',
'search_after',
'must_not',
'minimum_should_match',
'precision_threshold',
'match_phrase_prefix',
'case_insensitive',
'geo_centroid',
'key_as_string',
],
},
],
},
},
{
files: ['*/test/scripts/*.ts'],
rules: {
'no-console': 'off',
},
},
]