Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove gulp dependencies
Roland5a9d2e23996f
diff --git a/.eslintignore b/.eslintignoredeleted file mode 100644index eb02d7dd5..000000000--- a/.eslintignore+++ /dev/null@@ -1,8 +0,0 @@-# Ignore the following files and directories-/docs/-/extras/-/gulpfile.js-/node_modules/-/wger/core/static/bower_components/-/wger/core/static/js/Sortable.min.js-/wger/node_modules/diff --git a/.eslintrc.json b/.eslintrc.jsondeleted file mode 100644index b78347767..000000000--- a/.eslintrc.json+++ /dev/null@@ -1,28 +0,0 @@-{- "extends": "airbnb-base/legacy",- "env": {- "browser": true,- "jquery": true- },- "globals": {- "d3": true,- "MozActivity": true,- "Sortable": true,- "tinyMCE": true,- "MG": true- },- "rules": {- "func-names": [- "error",- "never"- ],- "no-unused-vars": [- 2,- {- "vars": "all",- "varsIgnorePattern": "^wger"- }- ],- "no-console": "off"- }-}diff --git a/gulpfile.js b/gulpfile.jsdeleted file mode 100644index 3d034851c..000000000--- a/gulpfile.js+++ /dev/null@@ -1,51 +0,0 @@-const gulp = require('gulp');-const eslint = require('gulp-eslint');-const flake8 = require('@petervanderdoes/gulp-flake8');-const isort = require('@petervanderdoes/gulp-isort');--const pythonfiles = ['**/*py',- '!**/extras/**',- '!**/build/**',- '!**/dist/**',- '!**/node_modules/**',- '!**/migrations/**',- '!**/docs/**',- '!settings.py'];--gulp.task('lint-js', function () {- // ESLint ignores files with "node_modules" paths.- // So, it's best to have gulp ignore the directory as well.- // Also, Be sure to return the stream from the task;- // Otherwise, the task may end before the stream has finished.- return gulp.src(['**/*.js'])- // eslint() attaches the lint output to the "eslint" property- // of the file object so it can be used by other modules.- .pipe(eslint())- // eslint.format() outputs the lint results to the console.- // Alternatively use eslint.formatEach() (see Docs).- .pipe(eslint.format())- // To have the process exit with an error code (1) on- // lint error, return the stream and pipe to failAfterError last.- .pipe(eslint.failAfterError());-});--gulp.task('lint-flake8', function () {- return gulp.src(pythonfiles)- .pipe(flake8())- .pipe(flake8.reporter())- .pipe(flake8.failOnError());-});--gulp.task('lint-isort', function () {- return gulp.src(pythonfiles)- .pipe(isort())- .pipe(isort.reporter())- .pipe(isort.failAfterError());-});--gulp.task('lint', gulp.series('lint-js', 'lint-flake8'));-// gulp.task('lint', ['lint-js', 'lint-python']);--gulp.task('default', gulp.series('lint', function () {- // This will only run if the lint task is successful...-}));diff --git a/package.json b/package.jsonindex 0a85b4748..f72dcca56 100644--- a/package.json+++ b/package.json@@ -18,17 +18,6 @@"url": "https://github.com/wger-project/wger/issues"},"homepage": "https://github.com/wger-project/wger",- "devDependencies": {- "@petervanderdoes/gulp-flake8": "^1.1.0",- "@petervanderdoes/gulp-isort": "^1.1.0",- "eslint": "^6.0.0",- "eslint-config-airbnb-base": "^14.2.0",- "eslint-plugin-import": "^2.21.2",- "eslint-plugin-jsx-a11y": "^6.2.3",- "eslint-plugin-react": "^7.20.0",- "gulp": "^4.0.2",- "gulp-eslint": "^6.0.0"- },"dependencies": {"bower": "^1.8.8"}