Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use of gulp plugin @petervanderdoes/gulp-flake8

Peter van der Doesbf3251889d2d
diff --git a/gulpfile.js b/gulpfile.js
index 2c7147267..6bc39933f 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,5 +1,6 @@
const gulp = require('gulp');
const eslint = require('gulp-eslint');
+const flake8 = require('@petervanderdoes/gulp-flake8');
gulp.task('lint-js', function () {
// ESLint ignores files with "node_modules" paths.
diff --git a/wger/package.json b/wger/package.json
index 5e75aed4e..815607327 100644
--- a/wger/package.json
+++ b/wger/package.json
@@ -19,6 +19,7 @@
},
"homepage": "https://github.com/wger-project/wger",
"devDependencies": {
+ "@petervanderdoes/gulp-flake8": "^1.1.0",
"eslint": "^3.3.1",
"eslint-config-airbnb-base": "^5.0.2",
"eslint-plugin-import": "^1.13.0",