File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed
Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 88 "prettier/prettier" : [" error" ],
99 "class-methods-use-this" : " off" ,
1010 "strict" : " off" ,
11- "no-plusplus" : " off"
11+ "no-plusplus" : " off" ,
12+ "linebreak-style" : " off" ,
13+ "no-param-reassign" : [
14+ " error" ,
15+ {
16+ "props" : false
17+ }
18+ ]
1219 }
1320}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class Util {
88 Object . keys ( options ) . forEach ( key => {
99 const value = options [ key ] ;
1010 if ( key === 'text' ) {
11- elem . innerText = value ;
11+ elem . textContent = value ;
1212 } else {
1313 elem . setAttribute ( key , value ) ;
1414 }
Original file line number Diff line number Diff line change 2222 Object . keys ( options ) . forEach ( key => {
2323 const value = options [ key ] ;
2424 if ( key === 'text' ) {
25- elem . innerText = value ;
25+ elem . textContent = value ;
2626 } else {
2727 elem . setAttribute ( key , value ) ;
2828 }
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "description" : " GitHub API application" ,
55 "scripts" : {
6- "lint" : " eslint homework --fix " ,
6+ "lint" : " eslint homework" ,
77 "test" : " npm run lint"
88 },
99 "author" : " Jim Cramer" ,
You can’t perform that action at this time.
0 commit comments