-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
45 lines (42 loc) · 1004 Bytes
/
.eslintrc.cjs
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
/**
* @file ESLint Configuration - Root
* @see https://eslint.org/docs/user-guide/configuring
*/
const { Linter } = require('eslint')
const { overrides } = require('./.eslintrc.base.cjs')
/**
* @type {Linter.Config}
* @const config - ESLint configuration object
*/
const config = {
root: true,
extends: ['./.eslintrc.base.cjs'],
overrides: [
...overrides,
{
files: [
'src/7kyu/__tests__/is-isogram.spec.ts',
'src/7kyu/__tests__/longest.spec.ts',
'src/7kyu/__tests__/mumble.spec.ts',
'src/7kyu/__tests__/xo.spec.ts',
'src/7kyu/is-isogram.ts',
'src/7kyu/longest.ts',
'src/7kyu/mumble.ts',
'src/7kyu/xo.ts',
'src/8kyu/__tests__/double-char.spec.ts'
],
rules: {
'spellcheck/spell-checker': 0
}
},
{
files: [
'src/7kyu/to-jaden-case.ts'
],
rules: {
'@typescript-eslint/triple-slash-reference': 0
}
}
]
}
module.exports = config