sunrise-cms/eslint.config.ts

23 lines
511 B
TypeScript

import { configWebApp, cspellWords, tseslint } from 'eslint-config-cityssm'
export const config = tseslint.config(...configWebApp, {
languageOptions: {
parserOptions: {
// eslint-disable-next-line @cspell/spellchecker
project: ['./tsconfig.json', './public/javascripts/tsconfig.json']
}
},
rules: {
'@cspell/spellchecker': [
'warn',
{
cspell: {
words: [...cspellWords, 'ical', 'preneed', 'ntfy']
}
}
]
}
})
export default config