-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
48 lines (48 loc) · 1.54 KB
/
eslint.config.js
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
47
48
import configCityssm, { cspellWords } from 'eslint-config-cityssm';
import tseslint from 'typescript-eslint';
export const config = tseslint.config(...configCityssm, {
rules: {
'@cspell/spellchecker': [
'warn',
{
cspell: {
words: [
...cspellWords,
'worktech',
'rtrim',
// Column name abbreviations
'accomp',
'actv',
'defaul',
'enddatetime',
'sched',
'scheddatetime',
'srisysid',
'srqi',
'srqisysid',
'unitprice',
'wonos',
'workdesc',
// Table names
'amsri',
'amsrqi',
'wmabca',
'wmacd',
'wmbac',
'wmiln',
'wmitm',
'wmjaca',
'wmjoca',
'wmjom',
'wmocd',
'wmtsi'
]
}
}
],
'@typescript-eslint/no-unsafe-type-assertion': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'unicorn/no-null': 'warn'
}
});
export default config;