Skip to content

Commit 50454d7

Browse files
committed
build: remove eslint and prettier checks from makefile
1 parent a405082 commit 50454d7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ TESTS = $(wildcard test/*.js)
44
BINS = node_modules/.bin
55
MINIFY = $(BINS)/uglifyjs
66
JSDOC = $(BINS)/jsdoc
7-
PRETTIER = $(BINS)/prettier
8-
ESLINT = $(BINS)/eslint
97
BUILD_DIR = build
108
PROJECT = amplitude
119
OUT = $(PROJECT).js
@@ -66,10 +64,8 @@ README.md: $(SNIPPET_OUT) version
6664
#
6765

6866
$(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) --check $(SRC)
70-
@$(ESLINT) $(SRC)
7167
@NODE_ENV=production $(ROLLUP) --config rollup.config.js # is the snippet build config
72-
@NODE_ENV=production $(ROLLUP) --config rollup.esm.js # does not concat dependencies, only has module and dependencies
68+
@NODE_ENV=production $(ROLLUP) --config rollup.esm.js # does not concat dependencies, only has module and dependencies
7369
@NODE_ENV=production $(ROLLUP) --config rollup.umd.js # generates npm version, also usable in require js app
7470
@NODE_ENV=production $(ROLLUP) --config rollup.native.js # generates react native build
7571
@NODE_ENV=production $(ROLLUP) --config rollup.nocompat.js # may be able to remove
@@ -81,8 +77,6 @@ $(OUT): node_modules $(SRC) package.json rollup.config.js rollup.min.js rollup.n
8177
# Target for minified `amplitude-snippet.js` file.
8278
#
8379
$(SNIPPET_OUT): $(SRC) $(SNIPPET)
84-
@$(PRETTIER) --check $(SRC)
85-
@$(ESLINT) $(SRC)
8680
@$(MINIFY) $(SNIPPET) -m -b max-line-len=80,beautify=false | awk 'NF' > $(SNIPPET_OUT)
8781

8882
$(SEGMENT_SNIPPET_OUT): $(SRC) $(SNIPPET)

0 commit comments

Comments
 (0)