File tree Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- extends : [
3
- 'codingitwrong' ,
4
- 'plugin:prettier/recommended' ,
5
- ] ,
2
+ extends : [ 'eslint:recommended' , 'plugin:prettier/recommended' ] ,
6
3
parser : 'babel-eslint' ,
7
- plugins : [
8
- 'jest' ,
9
- ] ,
4
+ plugins : [ 'jest' , 'prettier' ] ,
10
5
env : {
11
- ' es6' : true ,
6
+ es6 : true ,
12
7
'jest/globals' : true ,
13
- 'node' : true ,
8
+ node : true ,
9
+ } ,
10
+ rules : {
11
+ 'prettier/prettier' : 'error' ,
14
12
} ,
15
13
} ;
Original file line number Diff line number Diff line change 22
22
"babel-eslint" : " ^10.0.1" ,
23
23
"babel-jest" : " ^26.0.1" ,
24
24
"eslint" : " ^7.1.0" ,
25
- "eslint-config-codingitwrong" : " ^0.1.3" ,
26
25
"eslint-config-prettier" : " ^6.0.0" ,
27
26
"eslint-plugin-jest" : " ^24.1.0" ,
28
27
"eslint-plugin-prettier" : " ^3.0.1" ,
Original file line number Diff line number Diff line change @@ -3975,11 +3975,6 @@ escodegen@^2.0.0:
3975
3975
optionalDependencies :
3976
3976
source-map "~0.6.1"
3977
3977
3978
- eslint-config-codingitwrong@^0.1.3 :
3979
- version "0.1.4"
3980
- resolved "https://registry.yarnpkg.com/eslint-config-codingitwrong/-/eslint-config-codingitwrong-0.1.4.tgz#7c59cbf4dc6c9eb65486d7b73d49391722318fb3"
3981
- integrity sha512-Z89ffprPB/jFSIUNmPUTsaPfUvUT/0FxMN+sNfbofD1SlPBpK1iY0xKuH06inGUvEtgoCYWuETYrJ6hbgSqJjA==
3982
-
3983
3978
eslint-config-prettier@^6.0.0 :
3984
3979
version "6.15.0"
3985
3980
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9"
You can’t perform that action at this time.
0 commit comments