File tree Expand file tree Collapse file tree 5 files changed +314
-222
lines changed
webapp/javascript/components Expand file tree Collapse file tree 5 files changed +314
-222
lines changed Original file line number Diff line number Diff line change 16
16
"jsx-a11y/heading-has-content": ["warn"],
17
17
"jsx-a11y/control-has-associated-label": ["warn"],
18
18
"no-undef": ["warn"],
19
- "react/jsx-one-expression-per-line": ["warn"]
19
+ "react/jsx-one-expression-per-line": ["warn"],
20
+ "jsx-a11y/mouse-events-have-key-events": ["warn"],
21
+ "jsx-a11y/click-events-have-key-events": ["warn"],
22
+ "jsx-a11y/no-static-element-interactions": ["warn"]
20
23
},
21
24
"env": {
22
25
"browser": true,
Original file line number Diff line number Diff line change 4
4
5
5
require (
6
6
github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59
7
- github.com/clarkduvall/hyperloglog v0.0.0-20171127014514-a0107a5d8004 // indirect
7
+ github.com/clarkduvall/hyperloglog v0.0.0-20171127014514-a0107a5d8004
8
8
github.com/cosmtrek/air v1.21.2
9
9
github.com/creack/pty v1.1.11 // indirect
10
10
github.com/davecgh/go-spew v1.1.1
Original file line number Diff line number Diff line change 10
10
"scripts" : {
11
11
"dev" : " webpack --progress --colors --config scripts/webpack/webpack.dev.js" ,
12
12
"test" : " jest" ,
13
- "lint" : " eslint ./ --ext .js --cache --fix"
13
+ "lint" : " eslint ./ --ext .js,.jsx --cache --fix"
14
14
},
15
15
"devDependencies" : {
16
16
"@babel/core" : " 7.8.4" ,
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ function DateRangePicker(props) {
115
115
{ arr . map ( ( x ) => (
116
116
< button
117
117
className = { `drp-preset ${
118
- x . label == humanReadableRange ( ) ? "active" : ""
118
+ x . label === humanReadableRange ( ) ? "active" : ""
119
119
} `}
120
120
key = { x . label }
121
121
onClick = { ( ) => selectPreset ( x ) }
You can’t perform that action at this time.
0 commit comments