aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-04 22:23:38 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-04 22:23:38 +0200
commit3fc26ddfac87b8f1221e34b9e14054cf755de712 (patch)
tree3b5319a476b15cf566218487e5d32bcfb2bffb92
parentUse pipeline-readable job names. (diff)
Remove unused files.
-rw-r--r--.eslintignore2
-rw-r--r--.eslintrc.yml165
-rw-r--r--.scss-lint.yml19
-rwxr-xr-xscripts/deploy-ci.sh19
4 files changed, 0 insertions, 205 deletions
diff --git a/.eslintignore b/.eslintignore
deleted file mode 100644
index e9e13080..00000000
--- a/.eslintignore
+++ /dev/null
@@ -1,2 +0,0 @@
-js/vendor
-gulpfile.js
diff --git a/.eslintrc.yml b/.eslintrc.yml
deleted file mode 100644
index 986ae62e..00000000
--- a/.eslintrc.yml
+++ /dev/null
@@ -1,165 +0,0 @@
-env:
- browser: true
- es6: true
- jquery: true
-extends: 'eslint:recommended'
-parserOptions:
- sourceType: script
-globals:
- Typewriter: true
- UIkit: true
-rules:
- array-bracket-newline:
- - warn
- - consistent
- block-scoped-var:
- - error
- brace-style:
- - warn
- comma-dangle:
- - warn
- - only-multiline
- comma-spacing:
- - warn
- comma-style:
- - warn
- curly:
- - error
- - all
- dot-location:
- - warn
- - property
- eol-last:
- - warn
- eqeqeq:
- - error
- function-paren-newline:
- - warn
- - consistent
- indent:
- - error
- - 4
- linebreak-style:
- - error
- - unix
- lines-around-comment:
- - warn
- - afterBlockComment: true
- allowArrayStart: true
- allowBlockStart: true
- allowClassStart: true
- allowObjectStart: true
- beforeBlockComment: true
- lines-between-class-members:
- - warn
- max-len:
- - warn
- - code: 120
- ignoreUrls: true
- ignoreRegExpLiterals: true
- multiline-comment-style:
- - warn
- - starred-block
- new-parens:
- - warn
- no-alert:
- - warn
- no-caller:
- - error
- no-case-declarations:
- - error
- no-catch-shadow:
- - error
- no-confusing-arrow:
- - warn
- no-else-return:
- - warn
- no-extra-bind:
- - warn
- no-extra-label:
- - warn
- no-floating-decimal:
- - warn
- no-invalid-this:
- - error
- no-lone-blocks:
- - warn
- no-lonely-if:
- - warn
- no-multi-spaces:
- - warn
- no-new:
- - error
- no-param-reassign:
- - warn
- no-plusplus:
- - warn
- no-return-assign:
- - warn
- no-return-await:
- - warn
- no-tabs:
- - warn
- no-ternary:
- - warn
- no-trailing-spaces:
- - warn
- no-undef-init:
- - warn
- no-unused-vars:
- - warn
- no-use-before-define:
- - error
- no-useless-call:
- - warn
- no-var:
- - error
- object-curly-newline:
- - warn
- operator-assignment:
- - warn
- - always
- prefer-arrow-callback:
- - warn
- - allowNamedFunctions: false
- allowUnboundThis: false
- prefer-const:
- - warn
- prefer-numeric-literals:
- - warn
- prefer-template:
- - warn
- quotes:
- - warn
- - double
- quote-props:
- - warn
- semi:
- - error
- - always
- semi-spacing:
- - warn
- semi-style:
- - warn
- sort-imports:
- - warn
- sort-vars:
- - warn
- space-infix-ops:
- - warn
- space-unary-ops:
- - warn
- - words: true
- nonwords: true
- spaced-comment:
- - warn
- - always
- strict:
- - error
- - global
- wrap-iife:
- - warn
- - inside
- yoda:
- - error
- - never
diff --git a/.scss-lint.yml b/.scss-lint.yml
deleted file mode 100644
index b6bcde49..00000000
--- a/.scss-lint.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-linters:
- Comment:
- enabled: false
- HexLength:
- style: "long"
- HexNotation:
- style: "uppercase"
- IdSelector:
- enabled: false
- ImportantRule: # While I agree with this one, we do need to use !important in some cases
- enabled: false
- NameFormat:
- convention: "snake_case"
- NestingDepth:
- max_depth: 4
- SelectorDepth:
- max_depth: 4
- StringQuotes:
- style: "double_quotes"
diff --git a/scripts/deploy-ci.sh b/scripts/deploy-ci.sh
deleted file mode 100755
index f5c965ca..00000000
--- a/scripts/deploy-ci.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-# Build and deploy on master branch
-echo "Connecting to docker hub"
-echo "$GITLAB_DOCKER_PASSWORD" | docker login --username "$GITLAB_DOCKER_USERNAME" --password-stdin registry.gitlab.com
-
-changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l)
-
-if [ $changed_lines != '0' ]; then
- echo "base.Dockerfile was changed"
-
- echo "Building CI container"
- docker build -t registry.gitlab.com/python-discord/projects/site/django-base:latest -f docker/base.Dockerfile .
-
- echo "Pushing image to GitLab registry"
- docker push registry.gitlab.com/python-discord/projects/site/django-base:latest
-else
- echo "base.Dockerfile was not changed, not building"
-fi