File tree Expand file tree Collapse file tree 5 files changed +35
-16
lines changed Expand file tree Collapse file tree 5 files changed +35
-16
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extends": "react-notify",
3
+ "plugins": ["prettier"],
4
+ "rules": {
5
+ "prettier/prettier": "error"
6
+ }
7
+ }
Original file line number Diff line number Diff line change 18
18
"now-build" : " react-scripts build"
19
19
},
20
20
"eslintConfig" : {
21
- "extends" : " react-app "
21
+ "extends" : " react-notify "
22
22
},
23
23
"browserslist" : [
24
24
" >0.2%" ,
25
25
" not dead" ,
26
26
" not ie <= 11" ,
27
27
" not op_mini all"
28
- ]
28
+ ],
29
+ "devDependencies" : {
30
+ "eslint-plugin-prettier" : " ^3.0.1"
31
+ }
29
32
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class App extends Component {
11
11
type :"success" ,
12
12
theme :"bootstrap-v4" ,
13
13
layout :"topLeft" ,
14
- text :"Some Notification text ..." ,
14
+ text :"Notification Text Here. ..." ,
15
15
timeout :"3000"
16
16
} ) . show ( )
17
17
}
@@ -20,7 +20,7 @@ class App extends Component {
20
20
type :"error" ,
21
21
theme :"bootstrap-v4" ,
22
22
layout :"topLeft" ,
23
- text :"Some Notification text ..." ,
23
+ text :"Notification Text Here. ..." ,
24
24
timeout :"3000"
25
25
} ) . show ( )
26
26
}
@@ -29,7 +29,7 @@ class App extends Component {
29
29
type :"info" ,
30
30
theme :"bootstrap-v4" ,
31
31
layout :"topLeft" ,
32
- text :"Some Notification text ..." ,
32
+ text :"Notification Text Here. ..." ,
33
33
timeout :"3000"
34
34
} ) . show ( )
35
35
}
@@ -38,7 +38,7 @@ class App extends Component {
38
38
type :"warning" ,
39
39
theme :"bootstrap-v4" ,
40
40
layout :"topLeft" ,
41
- text :"Some Notification text ..." ,
41
+ text :"Notification Text Here. ..." ,
42
42
timeout :"3000"
43
43
} ) . show ( )
44
44
}
Original file line number Diff line number Diff line change 3417
3417
has "^1.0.3"
3418
3418
jsx-ast-utils "^2.0.1"
3419
3419
3420
+ eslint-plugin-prettier@^3.0.1 :
3421
+ version "3.0.1"
3422
+ resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.0.1.tgz#19d521e3981f69dd6d14f64aec8c6a6ac6eb0b0d"
3423
+ integrity sha512-/PMttrarPAY78PLvV3xfWibMOdMDl57hmlQ2XqFeA37wd+CJ7WSxV7txqjVPHi/AAFKd2lX0ZqfsOc/i5yFCSQ==
3424
+ dependencies :
3425
+ prettier-linter-helpers "^1.0.0"
3426
+
3420
3427
3421
3428
version "7.12.4"
3422
3429
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.12.4.tgz#b1ecf26479d61aee650da612e425c53a99f48c8c"
@@ -3763,6 +3770,11 @@ fast-deep-equal@^2.0.1:
3763
3770
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
3764
3771
integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=
3765
3772
3773
+ fast-diff@^1.1.2 :
3774
+ version "1.2.0"
3775
+ resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
3776
+ integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
3777
+
3766
3778
fast-glob@^2.0.2 :
3767
3779
version "2.2.6"
3768
3780
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.6.tgz#a5d5b697ec8deda468d85a74035290a025a95295"
@@ -7708,6 +7720,13 @@ preserve@^0.2.0:
7708
7720
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
7709
7721
integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=
7710
7722
7723
+ prettier-linter-helpers@^1.0.0 :
7724
+ version "1.0.0"
7725
+ resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b"
7726
+ integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
7727
+ dependencies :
7728
+ fast-diff "^1.1.2"
7729
+
7711
7730
pretty-bytes@^4.0.2 :
7712
7731
version "4.0.2"
7713
7732
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
You can’t perform that action at this time.
0 commit comments