-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
32 lines (32 loc) · 1.16 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
import eslintConstants from '@cityssm/faster-constants/other/eslint';
import { configWebApp, cspellWords, tseslint } from 'eslint-config-cityssm';
export const config = tseslint.config(...configWebApp, {
rules: {
'@cspell/spellchecker': [
'warn',
{
cspell: {
words: [
...cspellWords,
...eslintConstants.cspellWords,
'autoincrement',
'fieldsets',
'fontawesome',
'nhtsa',
'ntfy',
'resave',
'unvalidated',
'worktech'
]
}
}
],
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-type-assertion': 'off',
'no-secrets/no-secrets': ['error', { ignoreContent: '^modules.' }]
}
});
export default config;