mirror of
https://github.com/discourse/discourse.git
synced 2025-04-25 07:34:28 +08:00
DEV: Remove hints of jshint (#14828)
This commit is contained in:
parent
641f49748d
commit
e6245bd603
app/assets/javascripts/discourse/tests
fixtures
discovery-fixtures.jsnotification-fixtures.jsprivate-messages-fixtures.jsstatic-fixtures.jstop-fixtures.jstopic.jsuser-fixtures.js
helpers
lib/tasks
@ -1,4 +1,3 @@
|
|||||||
/*jshint maxlen:10000000 */
|
|
||||||
export default {
|
export default {
|
||||||
"/latest.json": {
|
"/latest.json": {
|
||||||
users: [
|
users: [
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
/*jshint maxlen:10000000 */
|
|
||||||
import { NOTIFICATION_TYPES } from "./concerns/notification-types";
|
import { NOTIFICATION_TYPES } from "./concerns/notification-types";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
/*jshint maxlen:10000000 */
|
|
||||||
export default {
|
export default {
|
||||||
"/topics/private-messages/eviltrout.json": {
|
"/topics/private-messages/eviltrout.json": {
|
||||||
users: [
|
users: [
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,3 @@
|
|||||||
/*jshint maxlen:10000000 */
|
|
||||||
export default {
|
export default {
|
||||||
"/top.json": {
|
"/top.json": {
|
||||||
users: [
|
users: [
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import I18n from "I18n";
|
|
||||||
/*jshint maxlen:10000000 */
|
|
||||||
export default {
|
export default {
|
||||||
"/t/130.json": {
|
"/t/130.json": {
|
||||||
post_stream: {
|
post_stream: {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
/*jshint maxlen:10000000 */
|
|
||||||
export default {
|
export default {
|
||||||
"/u/eviltrout.json": {
|
"/u/eviltrout.json": {
|
||||||
user_badges: [
|
user_badges: [
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import PreloadStore from "discourse/lib/preload-store";
|
import PreloadStore from "discourse/lib/preload-store";
|
||||||
|
|
||||||
/*jshint maxlen:10000000 */
|
|
||||||
PreloadStore.store("site", {
|
PreloadStore.store("site", {
|
||||||
default_archetype: "regular",
|
default_archetype: "regular",
|
||||||
notification_types: {
|
notification_types: {
|
||||||
|
@ -19,7 +19,7 @@ task 'integration:create_fixtures' => :environment do
|
|||||||
|
|
||||||
filename = "#{Rails.root}/test/javascripts/fixtures/#{type}_fixtures.js"
|
filename = "#{Rails.root}/test/javascripts/fixtures/#{type}_fixtures.js"
|
||||||
|
|
||||||
content = "/*jshint maxlen:10000000 */\nexport default {\n"
|
content = "export default {\n"
|
||||||
urls.each do |url|
|
urls.each do |url|
|
||||||
|
|
||||||
http_result = fake_xhr("http://localhost:3000#{url}")
|
http_result = fake_xhr("http://localhost:3000#{url}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user