-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy patheslint.config.js
More file actions
63 lines (62 loc) · 1.3 KB
/
eslint.config.js
File metadata and controls
63 lines (62 loc) · 1.3 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
const config = require('@adobe/eslint-config-aio-lib-config')
module.exports = [
...config,
{
languageOptions: {
globals: {
NoErrorThrownError: true,
getErrorForCallThatShouldThrowAnError: true,
fixturePath: true,
fixtureFile: true,
fixtureJson: true,
fixtureHjson: true,
fixtureYaml: true,
fakeFileSystem: true,
setFetchMock: true,
createOclifMockConfig: true,
loadFixtureApp: true,
defaultAppHostName: true,
defaultTvmUrl: true,
defaultOwApihost: true,
fakeS3Bucket: true,
fakeOrgId: true,
fakeConfig: true,
aioLegacyAppConfig: true,
fakeS3Creds: true,
extraConfig: true,
fakeTVMResponse: true
}
},
settings: {
jsdoc: {
ignorePrivate: true
}
},
rules: {
'jsdoc/no-defaults': 0,
'jsdoc/tag-lines': [
'error',
'never',
{
startLines: null
}
]
}
},
{
files: ['test/**/*.js'],
languageOptions: {
globals: {
jest: true,
describe: true,
test: true,
it: true,
expect: true,
beforeEach: true,
afterEach: true,
beforeAll: true,
afterAll: true
}
}
}
]