CB-12895 : added .eslintrc files to set up jasmine environment

This commit is contained in:
Audrey So
2017-06-19 10:21:43 -07:00
parent d83d49d83b
commit ac4ac935f6
16 changed files with 25 additions and 19 deletions
+12
View File
@@ -0,0 +1,12 @@
env:
jasmine: true
root: true
extends: semistandard
rules:
indent:
- error
- 4
camelcase: off
padded-blocks: off
operator-linebreak: off
no-throw-literal: off
-1
View File
@@ -16,7 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* eslint-env jasmine */
var actions = require('./helpers/projectActions.js');
-1
View File
@@ -16,7 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* eslint-env jasmine */
var path = require('path');
var actions = require('./helpers/projectActions.js');
-1
View File
@@ -16,7 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* eslint-env jasmine */
var actions = require('./helpers/projectActions.js');
var shell = require('shelljs');
+12
View File
@@ -0,0 +1,12 @@
env:
jasmine: true
root: true
extends: semistandard
rules:
indent:
- error
- 4
camelcase: off
padded-blocks: off
operator-linebreak: off
no-throw-literal: off
-1
View File
@@ -16,7 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* eslint-env jasmine */
var path = require('path');
var AndroidProject = require('../../bin/templates/cordova/lib/AndroidProject');
-1
View File
@@ -1,5 +1,4 @@
/* eslint-env jasmine */
var path = require('path');
var AndroidStudio = require('../../bin/templates/cordova/lib/AndroidStudio');
-3
View File
@@ -17,9 +17,6 @@
under the License.
*/
/* jshint node:true */
/* eslint-env jasmine */
var Q = require('q');
var os = require('os');
var path = require('path');
-2
View File
@@ -16,8 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* jshint laxcomma:true */
/* eslint-env jasmine */
var android_sdk = require('../../bin/templates/cordova/lib/android_sdk');
var superspawn = require('cordova-common').superspawn;
+1 -1
View File
@@ -1,4 +1,4 @@
/* eslint-env jasmine */
var Gradle_builder = require('../../../bin/templates/cordova/lib/builders/GradleBuilder.js');
var fs = require('fs');
var superspawn = require('cordova-common').superspawn;
-2
View File
@@ -16,8 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* jshint laxcomma:true */
/* eslint-env jasmine */
var check_reqs = require('../../bin/templates/cordova/lib/check_reqs');
var android_sdk = require('../../bin/templates/cordova/lib/android_sdk');
-2
View File
@@ -16,8 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* jshint laxcomma:true */
/* eslint-env jasmine */
var create = require('../../bin/lib/create');
-1
View File
@@ -16,7 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* eslint-env jasmine */
var emu = require('../../bin/templates/cordova/lib/emulator');
var superspawn = require('cordova-common').superspawn;
-1
View File
@@ -15,7 +15,6 @@
* under the License.
*
*/
/* eslint-env jasmine */
var rewire = require('rewire');
var common = rewire('../../../bin/templates/cordova/lib/pluginHandlers');
@@ -16,7 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* eslint-env jasmine */
var rewire = require('rewire');
var common = rewire('../../../bin/templates/cordova/lib/pluginHandlers');
-1
View File
@@ -16,7 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
/* eslint-env jasmine */
var rewire = require('rewire');
var run = rewire('../../bin/templates/cordova/lib/run');