DEV: prettier 2.2.1 (#89)
This commit is contained in:
parent
ec08e1a29c
commit
8ab94e334c
|
@ -1,7 +1,7 @@
|
||||||
import {
|
import {
|
||||||
default as computed,
|
default as computed,
|
||||||
on,
|
|
||||||
observes,
|
observes,
|
||||||
|
on,
|
||||||
} from "discourse-common/utils/decorators";
|
} from "discourse-common/utils/decorators";
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
|
|
|
@ -70,7 +70,7 @@ const QueryResultComponent = Ember.Component.extend({
|
||||||
@computed("params.[]")
|
@computed("params.[]")
|
||||||
parameterAry(params) {
|
parameterAry(params) {
|
||||||
let arr = [];
|
let arr = [];
|
||||||
for (var key in params) {
|
for (let key in params) {
|
||||||
if (params.hasOwnProperty(key)) {
|
if (params.hasOwnProperty(key)) {
|
||||||
arr.push({ key, value: params[key] });
|
arr.push({ key, value: params[key] });
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Handlebars from "handlebars";
|
import Handlebars from "handlebars";
|
||||||
import { categoryLinkHTML } from "discourse/helpers/category-link";
|
import { categoryLinkHTML } from "discourse/helpers/category-link";
|
||||||
import { autoUpdatingRelativeAge } from "discourse/lib/formatter";
|
import { autoUpdatingRelativeAge } from "discourse/lib/formatter";
|
||||||
import { iconHTML, convertIconClass } from "discourse-common/lib/icon-library";
|
import { convertIconClass, iconHTML } from "discourse-common/lib/icon-library";
|
||||||
|
|
||||||
function icon_or_image_replacement(str, ctx) {
|
function icon_or_image_replacement(str, ctx) {
|
||||||
str = Ember.get(ctx.contexts[0], str);
|
str = Ember.get(ctx.contexts[0], str);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {
|
import {
|
||||||
default as computed,
|
default as computed,
|
||||||
on,
|
|
||||||
observes,
|
observes,
|
||||||
|
on,
|
||||||
} from "discourse-common/utils/decorators";
|
} from "discourse-common/utils/decorators";
|
||||||
import getURL from "discourse-common/lib/get-url";
|
import getURL from "discourse-common/lib/get-url";
|
||||||
import RestModel from "discourse/models/rest";
|
import RestModel from "discourse/models/rest";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eslint-config-discourse": "^1.1.4"
|
"eslint-config-discourse": "^1.1.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
18
yarn.lock
18
yarn.lock
|
@ -498,10 +498,10 @@ escape-string-regexp@^1.0.5:
|
||||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
||||||
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
|
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
|
||||||
|
|
||||||
eslint-config-discourse@^1.1.4:
|
eslint-config-discourse@^1.1.8:
|
||||||
version "1.1.4"
|
version "1.1.8"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-config-discourse/-/eslint-config-discourse-1.1.4.tgz#cff9f93f17dfcefe4852bb417f747c28444b4bd7"
|
resolved "https://registry.yarnpkg.com/eslint-config-discourse/-/eslint-config-discourse-1.1.8.tgz#c297831876811ea08203aa348d1ba2a963b2ae78"
|
||||||
integrity sha512-4Yilkkmdkz/LdEiQCbng6evI2w33HDs9lXgiae0DutjTboqs/TauQXySusxHagKr9GFtefPOxovzNKwD2s1ggw==
|
integrity sha512-ZSQfhliiO5Cfa7WcKoMkN4wW/1rBJpecpMJpfjiFsElfgPj4EV4Pzksi5CvFnRbJDoZh6DYYrQfO+tW062VOUA==
|
||||||
dependencies:
|
dependencies:
|
||||||
babel-eslint "^10.1.0"
|
babel-eslint "^10.1.0"
|
||||||
ember-template-lint "^2.11.0"
|
ember-template-lint "^2.11.0"
|
||||||
|
@ -511,7 +511,7 @@ eslint-config-discourse@^1.1.4:
|
||||||
eslint-plugin-ember "^6.10.0"
|
eslint-plugin-ember "^6.10.0"
|
||||||
eslint-plugin-lodash "^7.1.0"
|
eslint-plugin-lodash "^7.1.0"
|
||||||
eslint-plugin-node "^8.0.0"
|
eslint-plugin-node "^8.0.0"
|
||||||
prettier "^2.1.1"
|
prettier "2.2.1"
|
||||||
|
|
||||||
eslint-plugin-discourse-ember@latest:
|
eslint-plugin-discourse-ember@latest:
|
||||||
version "0.0.3"
|
version "0.0.3"
|
||||||
|
@ -1204,10 +1204,10 @@ prelude-ls@~1.1.2:
|
||||||
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
|
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
|
||||||
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
|
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
|
||||||
|
|
||||||
prettier@^2.1.1:
|
prettier@2.2.1:
|
||||||
version "2.1.2"
|
version "2.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
|
||||||
integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==
|
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
|
||||||
|
|
||||||
progress@^2.0.0:
|
progress@^2.0.0:
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
|
|
Loading…
Reference in New Issue