mirror of
https://github.com/caprover/caprover
synced 2025-10-30 01:57:03 +00:00
19 lines
560 B
JavaScript
19 lines
560 B
JavaScript
import pluginJs from '@eslint/js'
|
|
import globals from 'globals'
|
|
import tseslint from 'typescript-eslint'
|
|
|
|
export default [
|
|
{ languageOptions: { globals: globals.browser } },
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-this-alias': 'off',
|
|
'@typescript-eslint/no-require-imports': 'off',
|
|
'no-useless-escape': 'off',
|
|
},
|
|
},
|
|
]
|