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
This commit is contained in:
parent
4d36326319
commit
a4a56aa6e6
@ -1 +0,0 @@
|
||||
horizon/static/horizon/lib/
|
32
.eslintrc
32
.eslintrc
@ -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"
|
28
package.json
28
package.json
@ -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": {}
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user