Skip to content

Commit d110973

Browse files
authored
Merge pull request #5387 from plotly/disable-inline-configs-in-no-new-func-test
Disable all inline config comments in no-new-func test
2 parents 3a501ef + 8803277 commit d110973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"watch": "node tasks/watch.js",
3232
"lint": "eslint --version && eslint .",
3333
"lint-fix": "eslint . --fix || true",
34-
"no-new-func": "eslint --no-ignore --no-eslintrc --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)",
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)",
3535
"docker": "node tasks/docker.js",
3636
"pretest": "node tasks/pretest.js",
3737
"test-jasmine": "karma start test/jasmine/karma.conf.js",

0 commit comments

Comments
 (0)