-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.backtrackrc.js
47 lines (39 loc) · 945 Bytes
/
.backtrackrc.js
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
'use strict';
module.exports = {
presets: [
[
'@backtrack/node',
{ mode: 'module', syntax: 'typescript' },
],
],
config: {
wallaby: (config) => {
config.files = config.files.filter((pattern) => {
return pattern !== '!**/node_modules/**';
});
config.files.push('!node_modules/**');
return config;
},
eslint: {
rules: {
'import/no-cycle': 'off',
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
},
},
/**
* Jest v29 does not support prettier v3.
*
* Remove this when Jest v30 is released.
*
* https://jestjs.io/docs/configuration/#prettierpath-string
*/
jest: {
prettierPath: null,
},
},
};