-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathxo.config.js
More file actions
46 lines (46 loc) · 730 Bytes
/
xo.config.js
File metadata and controls
46 lines (46 loc) · 730 Bytes
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
module.exports = {
prettier: true,
rules: {
'func-names': ['off'],
'no-restricted-imports': [
'error',
{
patterns: [
'../*',
'./*',
'fp-ts/lib/*',
'fp-ts/es6/*',
'io-ts/lib/*',
'io-ts/es6/*',
'io-ts-types/lib/*',
'io-ts-types/es6/*'
]
}
],
'import/order': [
'warn',
{
pathGroups: [
{
pattern: 'test/**',
group: 'internal',
position: 'after'
},
{
pattern: 'src/**',
group: 'internal'
}
],
'newlines-between': 'always',
alphabetize: {order: 'asc'}
}
],
'no-else-return': 'warn'
},
overrides: [
{
files: 'webpack.config.js',
settings: {'import/resolver': {node: {}}}
}
]
};