From a4a56aa6e6dbc991e06d08494d6afe1e515781c6 Mon Sep 17 00:00:00 2001 From: Rob Cresswell Date: Sun, 6 Dec 2015 18:16:57 +0000 Subject: [PATCH] Remove JS linting/testing until it is needed The basis of ESLint and Karma/ Jasmine support had been added, but has been removed until it is needed. Implements: blueprint repo-cleanup Change-Id: I4872ae7083160aefd4a63df2c77a826d36da7dbc --- .eslintignore | 1 - .eslintrc | 32 -------------------------------- package.json | 28 ---------------------------- pylint.txt | 0 test-requirements.txt | 1 - 5 files changed, 62 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc delete mode 100644 package.json delete mode 100644 pylint.txt diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 6a9459d..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -horizon/static/horizon/lib/ \ No newline at end of file diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 7f732dc..0000000 --- a/.eslintrc +++ /dev/null @@ -1,32 +0,0 @@ -# Set up globals -globals: - angular: false - -extends: openstack - -# Most environment options are not explicitly enabled or disabled, only -# included here for completeness' sake. They are commented out, because the -# global updates.py script would otherwise override them during a global -# requirements synchronization. -# -# Individual projects should choose which platforms they deploy to. - -env: - # browser global variables. - browser: true - - # Adds all of the Jasmine testing global variables for version 1.3 and 2.0. - jasmine: true - - -# Below we adjust rules specific to horizon's usage of openstack's linting -# rules, and its own plugin inclusions. -rules: - - ############################################################################# - # Angular Plugin Customization - ############################################################################# - - angular/ng_controller_as_vm: - - 1 - - "ctrl" diff --git a/package.json b/package.json deleted file mode 100644 index 20ecf2f..0000000 --- a/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "version": "0.0.0", - "private": true, - "name": "horizon", - "description": "OpenStack Horizon - Angular", - "repository": "none", - "license": "Apache 2.0", - "devDependencies": { - "eslint": "^0.23.0", - "eslint-config-openstack": "1.2.0", - "eslint-plugin-angular": "0.0.10", - "jasmine-core": "2.2.0", - "karma": "0.12.31", - "karma-chrome-launcher": "0.1.8", - "karma-cli": "0.0.4", - "karma-coverage": "0.3.1", - "karma-jasmine": "0.3.5", - "karma-ng-html2js-preprocessor": "0.1.2", - "karma-phantomjs-launcher": "0.2.0", - "phantomjs": "1.9.17" - }, - "scripts": { - "postinstall": "if [ ! -d .venv ]; then tox -epy27 --notest; fi", - "test": "karma start horizon/karma.conf.js --single-run && karma start openstack_dashboard/karma.conf.js --single-run", - "lint": "eslint --no-color horizon/static openstack_dashboard/static" - }, - "dependencies": {} -} diff --git a/pylint.txt b/pylint.txt deleted file mode 100644 index e69de29..0000000 diff --git a/test-requirements.txt b/test-requirements.txt index 86ad13d..5a956be 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,7 +15,6 @@ django-nose>=1.2 flake8<=2.4.1,>=2.2.4 mock>=1.2 mox3>=0.7.0 -nodeenv>=0.9.4 # BSD License nose nose-exclude nosehtmloutput>=0.0.3