File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ jobs:
169
169
- run :
170
170
name : Test plotly bundles againt unexpected characters
171
171
command : npm run no-bad-char
172
+ - run :
173
+ name : Test plotly bundles againt duplicate keys
174
+ command : npm run no-dup-keys
172
175
- run :
173
176
name : Test certain bundles against function constructors
174
177
command : npm run no-new-func
Original file line number Diff line number Diff line change 33
33
"lint-fix" : " eslint . --fix || true" ,
34
34
"no-new-func" : " eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-new-func: error}' $(find dist -type f -iname '*.js' | grep -v plotly-gl* | grep -v plotly-with-meta.* | grep -v plotly.js | grep -v plotly.min.js | grep -v MathJax.js)" ,
35
35
"no-bad-char" : " eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-misleading-character-class: error}' $(find dist -type f -iname '*.js' | grep plotly)" ,
36
+ "no-dup-keys" : " eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-dupe-keys: error}' $(find dist -type f -iname '*.js' | grep plotly)" ,
36
37
"docker" : " node tasks/docker.js" ,
37
38
"pretest" : " node tasks/pretest.js" ,
38
39
"test-jasmine" : " karma start test/jasmine/karma.conf.js" ,
You can’t perform that action at this time.
0 commit comments