mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Lint panels
This commit is contained in:
parent
362ac33386
commit
8c3f760683
@ -22,7 +22,7 @@
|
||||
"watch_ru_all": "npm run watch_ru_core | npm run watch_ru_demo",
|
||||
"watch_ru_core": "rollup --config rollup/core.js --watch",
|
||||
"watch_ru_demo": "rollup --config rollup/demo.js --watch",
|
||||
"test": "eslint src panels --ext html && ls -1 src/**/*.html | xargs polymer lint --input"
|
||||
"test": "eslint src panels --ext html && ls -1 src/**/*.html panels/**/*.html | xargs polymer lint --input"
|
||||
},
|
||||
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
|
||||
"license": "MIT",
|
||||
|
@ -1,4 +1,6 @@
|
||||
<!-- <link rel="import" href="../../bower_components/polymer/polymer.html"> -->
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<dom-module id="events-list">
|
||||
<template>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!--
|
||||
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../bower_components/paper-button/paper-button.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-input.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-textarea.html">
|
||||
|
||||
<link rel="import" href="./partial-base.html">
|
||||
-->
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
|
||||
<link rel="import" href="./events-list.html">
|
||||
|
||||
<dom-module id="ha-panel-dev-event">
|
||||
|
@ -1,10 +1,10 @@
|
||||
<!--
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html">
|
||||
|
||||
<link rel="import" href="./partial-base.html">
|
||||
-->
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<dom-module id="ha-panel-dev-info">
|
||||
<template>
|
||||
<style is="custom-style" include="iron-positioning"></style>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!--
|
||||
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../bower_components/paper-button/paper-button.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-input.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-textarea.html">
|
||||
|
||||
<link rel="import" href="./partial-base.html">
|
||||
-->
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
|
||||
<link rel="import" href="./services-list.html">
|
||||
|
||||
<dom-module id="ha-panel-dev-service">
|
||||
|
@ -1,4 +1,6 @@
|
||||
<!-- <link rel="import" href="../../bower_components/polymer/polymer.html"> -->
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<dom-module id="services-list">
|
||||
<template>
|
||||
|
@ -1,4 +1,6 @@
|
||||
<!-- <link rel="import" href="../../bower_components/polymer/polymer.html"> -->
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<dom-module id="entity-list">
|
||||
<template>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!--
|
||||
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../bower_components/paper-button/paper-button.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-input.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-textarea.html">
|
||||
|
||||
<link rel="import" href="./partial-base.html">
|
||||
-->
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
|
||||
<link rel="import" href="./entity-list.html">
|
||||
|
||||
<dom-module id="ha-panel-dev-state">
|
||||
|
@ -1,11 +1,11 @@
|
||||
<!--
|
||||
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-textarea.html">
|
||||
<link rel="import" href="../../bower_components/paper-spinner/paper-spinner.html">
|
||||
|
||||
<link rel="import" href="./partial-base.html">
|
||||
-->
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<dom-module id="ha-panel-dev-template">
|
||||
<template>
|
||||
|
@ -1,13 +1,11 @@
|
||||
<!--
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
<link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-input.html">
|
||||
<link rel="import" href="./partial-base.html">
|
||||
|
||||
<link rel="import" href="../components/state-history-charts.html">
|
||||
-->
|
||||
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
<link rel="import" href="../../src/components/state-history-charts.html">
|
||||
<link rel="import" href="../../src/resources/pikaday-js.html">
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<dom-module id="ha-panel-history">
|
||||
<template>
|
||||
|
@ -1,3 +1,7 @@
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
|
||||
<dom-module id='ha-panel-iframe'>
|
||||
<template>
|
||||
<style>
|
||||
|
@ -1,6 +1,4 @@
|
||||
<!--
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
-->
|
||||
|
||||
<link rel="import" href="./logbook-entry.html">
|
||||
|
||||
|
@ -1,18 +1,15 @@
|
||||
<!--
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html">
|
||||
<link rel="import" href="../../bower_components/paper-input/paper-input.html">
|
||||
|
||||
<link rel="import" href="./partial-base.html">
|
||||
|
||||
<link rel="import" href="../components/loading-box.html">
|
||||
-->
|
||||
<link rel="import" href="../../src/layouts/partial-base.html">
|
||||
<link rel="import" href="../../src/components/loading-box.html">
|
||||
<link rel="import" href="../../src/resources/pikaday-js.html">
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<link rel="import" href="./ha-logbook.html">
|
||||
|
||||
<link rel="import" href="../../src/resources/pikaday-js.html">
|
||||
|
||||
<dom-module id="ha-panel-logbook">
|
||||
<template>
|
||||
<style>
|
||||
|
@ -1,10 +1,8 @@
|
||||
<!--
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
|
||||
<link rel="import" href="domain-icon.html">
|
||||
<link rel="import" href="display-time.html">
|
||||
<link rel="import" href="relative-ha-datetime.html">
|
||||
-->
|
||||
<link rel="import" href="../../src/components/domain-icon.html">
|
||||
<link rel="import" href="../../src/components/display-time.html">
|
||||
<link rel="import" href="../../src/components/relative-ha-datetime.html">
|
||||
|
||||
<dom-module id="logbook-entry">
|
||||
<template>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<!--
|
||||
<link rel='import' href='../../../bower_components/polymer/polymer.html'>
|
||||
<link rel='import' href='../../../bower_components/iron-image/iron-image.html'>
|
||||
<link rel='import' href='../../../bower_components/iron-icon/iron-icon.html'>
|
||||
-->
|
||||
<link rel='import' href='../../bower_components/polymer/polymer.html'>
|
||||
<link rel='import' href='../../bower_components/iron-image/iron-image.html'>
|
||||
<link rel='import' href='../../bower_components/iron-icon/iron-icon.html'>
|
||||
|
||||
<dom-module id='ha-entity-marker'>
|
||||
<template>
|
||||
|
@ -1,14 +1,16 @@
|
||||
<!--
|
||||
|
||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||
<link rel='import' href='../../bower_components/paper-toolbar/paper-toolbar.html'>
|
||||
<link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html">
|
||||
<link rel='import' href='../../bower_components/iron-icon/iron-icon.html'>
|
||||
-->
|
||||
|
||||
<link rel="import" href="../../bower_components/leaflet-map/leaflet-map.html">
|
||||
|
||||
<!-- temp work around -->
|
||||
<link rel="stylesheet" href="../../bower_components/leaflet/dist/leaflet.css" />
|
||||
|
||||
<link rel="import" href="../../src/util/hass-behavior.html">
|
||||
|
||||
<link rel="import" href="./ha-entity-marker.html">
|
||||
|
||||
<style>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
/** @polymerBehavior NameSpace.Behavior */
|
||||
/** @polymerBehavior */
|
||||
window.hassBehavior = {
|
||||
attached: function attached() {
|
||||
var hass = this.hass;
|
||||
|
Loading…
x
Reference in New Issue
Block a user