We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6656ca3 commit b54dcc4Copy full SHA for b54dcc4
.circleci/config.yml
@@ -145,7 +145,7 @@ jobs:
145
at: ~/
146
- run:
147
name: Build dist/
148
- command: npm run build
+ command: npm run build && npm run no-new-func
149
- store_artifacts:
150
path: dist
151
destination: dist
package.json
@@ -31,6 +31,7 @@
31
"watch": "node tasks/watch.js",
32
"lint": "eslint --version && eslint .",
33
"lint-fix": "eslint . --fix || true",
34
+ "no-new-func": "eslint --no-ignore --no-eslintrc --rule '{no-new-func: error}' dist/plotly-finance.js dist/plotly-basic.js dist/plotly-cartesian.js dist/plotly-geo.js dist/plotly-mapbox.js",
35
"docker": "node tasks/docker.js",
36
"pretest": "node tasks/pretest.js",
37
"test-jasmine": "karma start test/jasmine/karma.conf.js",
0 commit comments