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/cli": "8.0.0",
|
||||||
"@commitlint/config-angular": "8.0.0",
|
"@commitlint/config-angular": "8.0.0",
|
||||||
"coveralls": "3.0.4",
|
"coveralls": "3.0.4",
|
||||||
"eslint": "5.16.0",
|
"eslint": "6.0.0",
|
||||||
"eslint-config-airbnb-base": "13.1.0",
|
"eslint-config-airbnb-base": "13.1.0",
|
||||||
"eslint-plugin-import": "2.17.3",
|
"eslint-plugin-import": "2.17.3",
|
||||||
"grunt": "1.0.4",
|
"grunt": "1.0.4",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
var ajaxify = window.ajaxify || {};
|
ajaxify = window.ajaxify || {};
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var location = document.location || window.location;
|
var location = document.location || window.location;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
var app = window.app || {};
|
app = window.app || {};
|
||||||
|
|
||||||
app.isFocused = true;
|
app.isFocused = true;
|
||||||
app.currentRoom = null;
|
app.currentRoom = null;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/* globals define */
|
|
||||||
|
|
||||||
define('forum/flags/detail', ['forum/flags/list', 'components', 'translator', 'benchpress'], function (FlagsList, components, translator, Benchpress) {
|
define('forum/flags/detail', ['forum/flags/list', 'components', 'translator', 'benchpress'], function (FlagsList, components, translator, Benchpress) {
|
||||||
var Flags = {};
|
var Flags = {};
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/* globals define */
|
|
||||||
|
|
||||||
define('forum/flags/list', ['components', 'Chart'], function (components, Chart) {
|
define('forum/flags/list', ['components', 'Chart'], function (components, Chart) {
|
||||||
var Flags = {};
|
var Flags = {};
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ define('forum/recent', ['topicList'], function (topicList) {
|
|||||||
app.enterRoom('recent_topics');
|
app.enterRoom('recent_topics');
|
||||||
|
|
||||||
topicList.init('recent');
|
topicList.init('recent');
|
||||||
|
$('#new_topic').removeAttr('data-toggle');
|
||||||
|
$('#new_topic span.caret').remove();
|
||||||
};
|
};
|
||||||
|
|
||||||
return Recent;
|
return Recent;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
var overrides = window.overrides || {};
|
overrides = window.overrides || {};
|
||||||
|
|
||||||
if (typeof window !== 'undefined') {
|
if (typeof window !== 'undefined') {
|
||||||
(function ($) {
|
(function ($) {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
var app = window.app || {};
|
app = window.app || {};
|
||||||
var socket;
|
socket = window.socket;
|
||||||
app.isConnected = false;
|
app.isConnected = false;
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/* global require, after, before */
|
|
||||||
|
|
||||||
|
|
||||||
var async = require('async');
|
var async = require('async');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/* globals require, before, after, describe, it */
|
|
||||||
|
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var async = require('async');
|
var async = require('async');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user