Fix eslint errors

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-04-11 13:00:22 +02:00
parent 2cd5606d40
commit 6f254510c1
5 changed files with 56 additions and 54 deletions

View File

@@ -22,6 +22,7 @@ globals:
parserOptions:
ecmaVersion: 6
sourceType: "module"
rules:
curly: error

View File

@@ -13,7 +13,7 @@ import './app/Run.js';
import ListController from 'controller/ListController.js';
app.controller('ListController', ListController)
app.controller('ListController', ListController);
// require all the js files from subdirectories

View File

@@ -12,6 +12,7 @@ find -name "*.js" -path '*js/*' -not -path '*js/node_modules*' \
-not -path '*l10n/*' \
-not -path '*js/vendor*' \
-not -path '*js/tests*' \
-not -path '*js/webpack*' \
-not -path '*js/public*' \
-not -path '*build/*' \
-not -path '*tests/*' \