Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more lint rules in lint #3131

Merged
merged 1 commit into from
Nov 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ apidoc: .build/apidoc
dist: dist/ngeo.js dist/ngeo-debug.js dist/gmf.js

.PHONY: check
check: git-attributes eof-newline lint check-examples test dist build-gmf-apps check-ngeox
check: lint check-examples test dist build-gmf-apps

.PHONY: check-ngeox
check-ngeox: options/ngeox.js
Expand All @@ -215,7 +215,10 @@ build-gmf-apps: $(foreach APP,$(GMF_APPS),$(addprefix contribs/gmf/build/$(APP),
check-examples: $(BUILD_EXAMPLES_CHECK_TIMESTAMP_FILES)

.PHONY: lint
lint: .build/eslint.timestamp
lint: .build/eslint.timestamp git-attributes eof-newline check-ngeox

.PHONY: eslint
eslint: .build/eslint.timestamp

.PHONY: git-attributes
git-attributes:
Expand Down