Skip to content

Commit 47128d5

Browse files
Lint files
1 parent 6880786 commit 47128d5

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/assets/js/admin/widgets/ReactLiquid.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@ engine.registerFilter('markdownify', (val) => {
1717
if (!val) return '';
1818
return marked.parse(val);
1919
});
20-
2120
engine.registerFilter('xml_escape', (val) => {
2221
if (typeof val !== 'string') return val;
2322
return encode(val);
2423
});
2524

25+
/**
26+
* Creates a <ReactLiquid> component.
27+
* @param root0
28+
* @param root0.template
29+
* @param root0.data
30+
*/
2631
export default function ReactLiquid({ template, data }) {
2732
const [html, setHtml] = useState('');
2833

docs/assets/js/admin/widgets/genericPreviewTemplate.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import React, { Component } from 'react';
33
import ReactLiquid from './ReactLiquid';
44
import template from '../../../../_includes/generic-content.html';
55

6-
import { marked } from '../../../../../node_modules/marked/lib/marked.esm.js';
7-
86
export default class Preview extends Component {
97
render() {
108
const data = {

test/cypress/e2e/docs/decap-cms.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const getIframeBody = () => {
1515

1616
/**
1717
* Load up the CMS at a particular path.
18-
* @param path {string} - A URL path.
18+
* @param path - {string} - A URL path.
1919
*/
2020
function setupCmsVisit(path) {
2121
cy.reload(true);

0 commit comments

Comments
 (0)