-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.cjs
More file actions
31 lines (29 loc) · 675 Bytes
/
.eslintrc.cjs
File metadata and controls
31 lines (29 loc) · 675 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
/**
* @file ESLint Configuration - Root
* @module config/eslint
* @see https://eslint.org/docs/user-guide/configuring
*/
/**
* @type {import('eslint').Linter.Config}
* @const config - ESLint configuration object
*/
const config = {
extends: ['./.eslintrc.base.cjs'],
overrides: [
...require('./.eslintrc.base.cjs').overrides,
{
files: ['__mocks__/@flex-development/aggregate-error-ponyfill.ts'],
rules: {
'@typescript-eslint/unbound-method': 0
}
},
{
files: ['src/exceptions/base.exception.ts'],
rules: {
'unicorn/custom-error-definition': 0
}
}
],
root: true
}
module.exports = config