generated from willin/remix-cloudflare-pages-demo
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.cjs
32 lines (32 loc) · 769 Bytes
/
.eslintrc.cjs
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
/** @type { import("eslint").Linter.FlatConfig } */
module.exports = {
root: true,
extends: [
'@hono/eslint-config',
'plugin:@typescript-eslint/recommended-requiring-type-checking'
],
rules: {
semi: ['error', 'always'],
quotes: ['error', 'single', { avoidEscape: true }],
'@typescript-eslint/no-explicit-any': 'warn',
// 'no-undef': ['error', { typeof: false }],
'node/no-unsupported-features/node-builtins': [
'error',
{
version: '>=16.0.0',
ignores: []
}
],
'node/no-unsupported-features/es-builtins': [
'error',
{
version: '>=16.0.0',
ignores: []
}
]
},
parserOptions: {
project: 'tsconfig.eslint.json',
tsconfigRootDir: __dirname
}
};