summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-10-27 21:35:07 +0200
committerwinniehell <git@winniehell.de>2016-10-27 21:35:07 +0200
commit4060807719a9d721248ce910cf4bf50e2838a498 (patch)
treeff6c9102d7f93e97c0348561bcc9816f93c6d5d6 /package.json
parente5950e687c42db006daf9147254e111f4e68c3f1 (diff)
downloadgitlab-ce-4060807719a9d721248ce910cf4bf50e2838a498.tar.gz
Enable linting for ES6 files
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 942b2113e65..d440307bd10 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"private": true,
"scripts": {
- "eslint": "eslint .",
- "eslint-fix": "eslint --fix ."
+ "eslint": "eslint --ext .js,.js.es6 .",
+ "eslint-fix": "eslint --fix --ext .js,.js.es6 ."
},
"devDependencies": {
"eslint": "^3.1.1",