cbillowes/gatsby-remark-interactive-gifs

View on GitHub

Showing 2 of 2 total issues

Function getNodeHtml has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getNodeHtml = (options) => {
  if (options.exists) {
    const gifElementId = options.id;
    const stillElementId = `still-${options.id}`;
    const responsiveness = (options.height / options.width) * 100;
Severity: Minor
Found in src/index.js - About 1 hr to fix

    Function sourceNodes has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    exports.sourceNodes = (options, pluginOptions) => {
      const { reporter } = options;
      Reporter = reporter;
    
      if (validate(pluginOptions)) {
    Severity: Minor
    Found in src/gatsby-node.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language