mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix(deps): update to eslint@6
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
"@commitlint/cli": "8.0.0",
|
||||
"@commitlint/config-angular": "8.0.0",
|
||||
"coveralls": "3.0.4",
|
||||
"eslint": "5.16.0",
|
||||
"eslint": "6.0.0",
|
||||
"eslint-config-airbnb-base": "13.1.0",
|
||||
"eslint-plugin-import": "2.17.3",
|
||||
"grunt": "1.0.4",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
var ajaxify = window.ajaxify || {};
|
||||
ajaxify = window.ajaxify || {};
|
||||
|
||||
$(document).ready(function () {
|
||||
var location = document.location || window.location;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
var app = window.app || {};
|
||||
app = window.app || {};
|
||||
|
||||
app.isFocused = true;
|
||||
app.currentRoom = null;
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
/* globals define */
|
||||
|
||||
define('forum/flags/detail', ['forum/flags/list', 'components', 'translator', 'benchpress'], function (FlagsList, components, translator, Benchpress) {
|
||||
var Flags = {};
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
/* globals define */
|
||||
|
||||
define('forum/flags/list', ['components', 'Chart'], function (components, Chart) {
|
||||
var Flags = {};
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ define('forum/recent', ['topicList'], function (topicList) {
|
||||
app.enterRoom('recent_topics');
|
||||
|
||||
topicList.init('recent');
|
||||
$('#new_topic').removeAttr('data-toggle');
|
||||
$('#new_topic span.caret').remove();
|
||||
};
|
||||
|
||||
return Recent;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
var overrides = window.overrides || {};
|
||||
overrides = window.overrides || {};
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
(function ($) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
var app = window.app || {};
|
||||
var socket;
|
||||
app = window.app || {};
|
||||
socket = window.socket;
|
||||
app.isConnected = false;
|
||||
|
||||
(function () {
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
/* global require, after, before */
|
||||
|
||||
|
||||
var async = require('async');
|
||||
var assert = require('assert');
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
/* globals require, before, after, describe, it */
|
||||
|
||||
var assert = require('assert');
|
||||
var async = require('async');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user