FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
setup-java/.eslintrc.js at Setup-JavaScript · KBPROPROMOTIONS/setup-java · GitHub
KBPROPROMOTIONS
/
setup-java
Public template
forked from
actions/setup-java
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
1
Pull requests
1
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
setup-java
/
.eslintrc.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
51 lines (50 loc) · 1.44 KB
Breadcrumbs
setup-java
/
.eslintrc.js
Copy path
File metadata and controls
51 lines (50 loc) · 1.44 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// This is a reusable configuration file copied from https://github.com/actions/reusable-workflows/tree/main/reusable-configurations. Please don't make changes to this file as it's the subject of an automatic update.
module
.
exports
=
{
extends
:
[
'eslint:recommended'
,
'plugin:@typescript-eslint/recommended'
,
'plugin:eslint-plugin-jest/recommended'
,
'eslint-config-prettier'
]
,
parser
:
'@typescript-eslint/parser'
,
plugins
:
[
'@typescript-eslint'
,
'eslint-plugin-node'
,
'eslint-plugin-jest'
]
,
rules
:
{
'@typescript-eslint/no-require-imports'
:
'error'
,
'@typescript-eslint/no-non-null-assertion'
:
'off'
,
'@typescript-eslint/no-explicit-any'
:
'off'
,
'@typescript-eslint/no-empty-function'
:
'off'
,
'@typescript-eslint/ban-ts-comment'
:
[
'error'
,
{
'ts-ignore'
:
'allow-with-description'
}
]
,
'no-console'
:
'error'
,
'yoda'
:
'error'
,
'prefer-const'
:
[
'error'
,
{
destructuring
:
'all'
}
]
,
'no-control-regex'
:
'off'
,
'no-constant-condition'
:
[
'error'
,
{
checkLoops
:
false
}
]
,
'node/no-extraneous-import'
:
'error'
}
,
overrides
:
[
{
files
:
[
'**/*{test,spec}.ts'
]
,
rules
:
{
'@typescript-eslint/no-unused-vars'
:
'off'
,
'jest/no-standalone-expect'
:
'off'
,
'jest/no-conditional-expect'
:
'off'
,
'no-console'
:
'off'
,
}
}
]
,
env
:
{
node
:
true
,
es6
:
true
,
'jest/globals'
:
true
}
}
;
Back
|
FazBrowse Home
|
New Git URL