Skip to content

Commit 2d828f1

Browse files
author
Kylie Stewart
authored
Clean up extraneous eslint configs (#83)
1 parent ec2a2b6 commit 2d828f1

3 files changed

Lines changed: 23 additions & 30 deletions

File tree

.eslintrc.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,23 @@
11
env:
2+
es6: true
23
node: true
3-
extends: [ 'eslint:recommended', 'plugin:react/recommended' ]
4-
parser: '@typescript-eslint/parser'
5-
parserOptions:
6-
sourceType: module
7-
settings:
8-
react:
9-
version: detect
104
rules:
11-
indent: [ 2, 2, { SwitchCase: 1 } ]
12-
no-trailing-spaces: 2
13-
quotes: [ 2, single, avoid-escape ]
14-
linebreak-style: [ 2, unix ]
15-
semi: [ 2, always ]
16-
valid-jsdoc: [ 2, { requireReturn: false } ]
17-
no-invalid-this: 2
18-
no-unused-vars: [ 2, { args: none } ]
19-
no-console: [ 2, { allow: [ warn, error ] } ]
205
block-scoped-var: 2
21-
curly: [ 2, multi-or-nest, consistent ]
22-
dot-location: [ 2, property ]
6+
callback-return: 2
7+
curly: [2, multi-or-nest, consistent]
8+
dot-location: [2, property]
239
dot-notation: 2
10+
indent: [2, 2, { SwitchCase: 1 }]
11+
linebreak-style: [2, unix]
2412
no-else-return: 2
2513
no-eq-null: 2
2614
no-fallthrough: 2
15+
no-path-concat: 2
2716
no-return-assign: 2
17+
no-trailing-spaces: 2
18+
no-unused-vars: [2, { args: none }]
19+
no-use-before-define: [2, nofunc]
20+
quotes: [2, single, avoid-escape]
21+
semi: [2, always]
2822
strict: 0
29-
no-use-before-define: [ 2, nofunc ]
30-
callback-return: 2
31-
no-path-concat: 2
32-
globals:
33-
document: false
34-
Element: false
23+
valid-jsdoc: [2, { requireReturn: false }]

benchmark/.eslintrc.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/.eslintrc.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
env:
2-
es6: true
32
mocha: true
3+
extends: [ 'eslint:recommended', 'plugin:react/recommended' ]
4+
parser: '@typescript-eslint/parser'
5+
parserOptions:
6+
sourceType: module
7+
settings:
8+
react:
9+
version: detect
10+
globals:
11+
document: false
12+
Element: false

0 commit comments

Comments
 (0)