Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Travis pass does not check existence of polymer.json #72

@TimvdLippe

Description

@TimvdLippe

The Travis pass currently adds linting to the script (

// Add polymer lint to all elements
const beforeScript = ['polymer lint'];
if (!Array.isArray(travis.before_script) ||
!arraysEqual(travis.before_script, beforeScript)) {
travis.before_script = beforeScript;
}
), however this will fail if polymer.json does not exist in the repository (which is the case for almost all elements).

The Travis pass (or maybe a different pass) should therefore generate a simple polymer.json with the correct linting configuration. Probably for the elements this should be

{
  "lint": {
      "rules": ["polymer-2-hybrid"]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions