Skip to content

Commit 14a8f76

Browse files
committed
Fixed no-console rule
1 parent 2d81559 commit 14a8f76

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.eslintrc.cjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ module.exports = {
1010
parser: '@typescript-eslint/parser',
1111
plugins: ['@typescript-eslint'],
1212
rules: {
13-
'dci-lint/literal-role-contracts': 'off',
14-
'no-console': ['error', { allow: ['warn'] }]
13+
'dci-lint/literal-role-contracts': 'off'
1514
},
1615
parserOptions: {
1716
sourceType: 'module',
@@ -30,6 +29,12 @@ module.exports = {
3029
parserOptions: {
3130
parser: '@typescript-eslint/parser'
3231
}
32+
},
33+
{
34+
files: ['src/lib/**'],
35+
rules: {
36+
'no-console': ['error', { allow: ['warn'] }]
37+
}
3338
}
3439
]
3540
};

0 commit comments

Comments
 (0)