1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Remove jshint esnext: http://jshint.com/docs/options/#esnext and use esversion: 6

This commit is contained in:
Julien Martins Da Costa
2018-05-01 09:50:13 -04:00
parent e2970fbeeb
commit 2116efb8c2
12 changed files with 6 additions and 2200 deletions

3
.jshintrc Normal file
View File

@@ -0,0 +1,3 @@
{
"esversion": 6
}

View File

@@ -1,4 +1,3 @@
/* jshint esnext: true */
import { APP_NAME, $document, $pjaxWrapper } from './utils/environment';
import globals from './globals';

View File

@@ -1,4 +1,3 @@
/* jshint esnext: true */
import TransitionManager from './transitions/TransitionManager';
export default function(firstBlood) {

View File

@@ -1,2 +1 @@
/* jshint esnext: true */
export {default as Example} from './modules/Example';

View File

@@ -1,4 +1,3 @@
/* jshint esnext: true */
let uid = 0;
/**

View File

@@ -1,4 +1,3 @@
/* jshint esnext: true */
import { APP_NAME } from '../utils/environment';
import AbstractModule from './AbstractModule';

View File

@@ -1,4 +1,3 @@
/* jshint esnext: true */
import { APP_NAME, $document, $html, isDebug, $pjaxWrapper, $window } from '../utils/environment';
import { EVENT as APP_EVENT } from '../App';

View File

@@ -1,4 +1,3 @@
/* jshint esnext: true */
import { isNumeric } from './is'
let isAnimating = false;

View File

@@ -1,4 +1,3 @@
/* jshint esnext: true */
import { isFunction } from './is';
import { arrayContains, findByKeyValue, removeFromArray } from './array';
import { $document, $window, $html, $body } from './environment';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long