mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Fixed linter errors
refs 517d2abc5c
- forgot to remove now-unused labs requires
This commit is contained in:
parent
517d2abc5c
commit
29af4b93a0
@ -6,7 +6,6 @@ const url = require('./utils/url');
|
|||||||
const slugFilterOrder = require('./utils/slug-filter-order');
|
const slugFilterOrder = require('./utils/slug-filter-order');
|
||||||
const localUtils = require('../../index');
|
const localUtils = require('../../index');
|
||||||
const postsMetaSchema = require('../../../../../data/schema').tables.posts_meta;
|
const postsMetaSchema = require('../../../../../data/schema').tables.posts_meta;
|
||||||
const labs = require('../../../../../services/labs');
|
|
||||||
|
|
||||||
const replacePageWithType = mapNQLKeyValues({
|
const replacePageWithType = mapNQLKeyValues({
|
||||||
key: {
|
key: {
|
||||||
|
@ -6,7 +6,6 @@ const slugFilterOrder = require('./utils/slug-filter-order');
|
|||||||
const localUtils = require('../../index');
|
const localUtils = require('../../index');
|
||||||
const mobiledoc = require('../../../../../lib/mobiledoc');
|
const mobiledoc = require('../../../../../lib/mobiledoc');
|
||||||
const postsMetaSchema = require('../../../../../data/schema').tables.posts_meta;
|
const postsMetaSchema = require('../../../../../data/schema').tables.posts_meta;
|
||||||
const labs = require('../../../../../services/labs');
|
|
||||||
|
|
||||||
const replacePageWithType = mapNQLKeyValues({
|
const replacePageWithType = mapNQLKeyValues({
|
||||||
key: {
|
key: {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
const localUtils = require('../../../index');
|
const localUtils = require('../../../index');
|
||||||
const labs = require('../../../../../../services/labs');
|
|
||||||
|
|
||||||
const tag = (attrs, frame) => {
|
const tag = (attrs, frame) => {
|
||||||
if (localUtils.isContentAPI(frame)) {
|
if (localUtils.isContentAPI(frame)) {
|
||||||
|
@ -2,7 +2,6 @@ const _ = require('lodash');
|
|||||||
const juice = require('juice');
|
const juice = require('juice');
|
||||||
const template = require('./template');
|
const template = require('./template');
|
||||||
const settingsCache = require('../../../shared/settings-cache');
|
const settingsCache = require('../../../shared/settings-cache');
|
||||||
const labs = require('../../services/labs');
|
|
||||||
const urlUtils = require('../../../shared/url-utils');
|
const urlUtils = require('../../../shared/url-utils');
|
||||||
const moment = require('moment-timezone');
|
const moment = require('moment-timezone');
|
||||||
const cheerio = require('cheerio');
|
const cheerio = require('cheerio');
|
||||||
|
Loading…
Reference in New Issue
Block a user