File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ README.md: $(SNIPPET_OUT) version
6666#
6767
6868$(OUT ) : node_modules $(SRC ) package.json rollup.config.js rollup.min.js rollup.native.js rollup.esm.js rollup.umd.js rollup.umd.min.js
69- @$(PRETTIER ) --write $(src )
70- @$(ESLINT ) --fix $(SRC )
69+ @$(PRETTIER ) --check $(SRC )
70+ @$(ESLINT ) $(SRC )
7171 @NODE_ENV=production $(ROLLUP ) --config rollup.config.js # is the snippet build config
7272 @NODE_ENV=production $(ROLLUP ) --config rollup.esm.js # does not concat dependencies, only has module and dependencies
7373 @NODE_ENV=production $(ROLLUP ) --config rollup.umd.js # generates npm version, also usable in require js app
@@ -81,8 +81,8 @@ $(OUT): node_modules $(SRC) package.json rollup.config.js rollup.min.js rollup.n
8181# Target for minified `amplitude-snippet.js` file.
8282#
8383$(SNIPPET_OUT ) : $(SRC ) $(SNIPPET )
84- @$(PRETTIER ) --write $(src )
85- @$(ESLINT ) --fix $(SRC )
84+ @$(PRETTIER ) --check $(SRC )
85+ @$(ESLINT ) $(SRC )
8686 @$(MINIFY ) $(SNIPPET ) -m -b max-line-len=80,beautify=false | awk ' NF' > $(SNIPPET_OUT )
8787
8888$(SEGMENT_SNIPPET_OUT ) : $(SRC ) $(SNIPPET )
You can’t perform that action at this time.
0 commit comments