forked from maasglobal/maas-tsp-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
46 lines (45 loc) · 936 Bytes
/
.eslintrc.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
'use strict';
module.exports = {
extends: 'maasglobal',
rules: {
'class-methods-use-this': 0,
},
overrides: [
{
files: ['test/**/*'],
rules: {
'jsdoc/require-jsdoc': 'off',
},
},
{
files: ['src/**/*'],
rules: {
'import/no-extraneous-dependencies': [
'warning',
{
devDependencies: true,
optionalDependencies: true,
peerDependencies: true,
bundledDependencies: true,
dependencies: true,
},
],
},
},
{
files: ['utils/**/*'],
rules: {
'import/no-extraneous-dependencies': [
'warning',
{
devDependencies: true,
optionalDependencies: true,
peerDependencies: true,
bundledDependencies: true,
dependencies: true,
},
],
},
},
],
};