Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F1262623
.eslintrc.cjs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
.eslintrc.cjs
View Options
module
.
exports
=
{
env
:
{
node
:
true
},
parser
:
"@typescript-eslint/parser"
,
plugins
:
[
"@typescript-eslint"
,
"prettier"
],
extends
:
[
"eslint:recommended"
,
// disabled due to https://github.com/typescript-eslint/typescript-eslint/issues/8804
// "plugin:@typescript-eslint/recommended",
// disabled due to https://github.com/typescript-eslint/typescript-eslint/issues/8804
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended"
,
],
parserOptions
:
{
sourceType
:
"module"
,
ecmaFeatures
:
{
modules
:
true
,
},
// disabled due to https://github.com/typescript-eslint/typescript-eslint/issues/8804
//project: ["./tsconfig.json", "./tsconfig-back.json"],
},
rules
:
{
"@typescript-eslint/no-unused-vars"
:
[
2
,
{
varsIgnorePattern
:
"TempstreamJSX"
}],
"no-unused-vars"
:
[
2
,
{
varsIgnorePattern
:
"TempstreamJSX"
}],
"@typescript-eslint/require-await"
:
0
,
/* "jsdoc/require-description": 2, */
"no-await-in-loop"
:
2
,
"@typescript-eslint/consistent-type-assertions"
:
[
1
,
{
assertionStyle
:
"never"
}],
"no-console"
:
[
1
,
{
allow
:
[
"error"
]
}],
},
ignorePatterns
:
[
"dist/*"
,
"public/dist/*"
,
"coverage/*"
,
"webhint/*"
],
settings
:
{
jsdoc
:
{
mode
:
"typescript"
}
},
overrides
:
[
{
files
:
[
"*.subtest.ts"
,
"*.test.ts"
],
rules
:
{
"@typescript-eslint/no-unsafe-member-access"
:
0
,
"prefer-const"
:
0
,
"@typescript-eslint/no-unsafe-call"
:
0
,
"@typescript-eslint/no-unsafe-return"
:
0
,
"@typescript-eslint/no-unsafe-assignment"
:
0
,
"no-await-in-loop"
:
1
,
// sometimes it's easier to debug when requests run sequentially
},
},
{
files
:
[
"*.stimulus.ts"
,
"src/front/*.ts"
],
env
:
{
browser
:
true
},
},
],
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 15:15 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
599885
Default Alt Text
.eslintrc.cjs (1 KB)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline
Log In to Comment