If you only want to run esLint and stylelint really only for staged files. Don't forget to adjust the source paths.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Bosch Thermostat | |
author: iceteabottle | |
description: " | |
# Automation especially for the Bosch Thermostat II ([BTH-RA](https://www.zigbee2mqtt.io/devices/BTH-RA.html#bosch-bth-ra)) | |
## Core Features | |
- Switch the TRV on/off depending on a window sensor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: "Lichtwecker" | |
description: "An automation for dimming a light from 0% up to 100% within 15 minutes" | |
action: | |
- type: turn_off | |
device_id: 738894a642dab1768d1ab51975b585f7 | |
entity_id: 6c6e595ddc1b1bfb4027411381678295 | |
domain: light | |
- repeat: | |
count: 20 | |
sequence: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
export CYPRESS_PACKAGE_VERSION=$(npx cypress --version --component package) | |
export CYPRESS_BINARY_VERSION=$(npx cypress --version --component binary) | |
echo "Cypress version:" | |
echo " - package: ${CYPRESS_PACKAGE_VERSION}" | |
echo " - binary: ${CYPRESS_BINARY_VERSION}" | |
if [[ "${CYPRESS_PACKAGE_VERSION}" != "${CYPRESS_BINARY_VERSION}" ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$font-size-base: 16px !default; | |
@function strip-unit($value) { | |
@return $value / ($value * 0 + 1); | |
} | |
@function pxToRem($value) { | |
@return $value / $font-size-base * 1rem; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).keydown(function (event) { | |
if (event.keyCode === 13 && $(':input').is(':focus')) { | |
event.preventDefault(); | |
$('#next-step').trigger('click'); | |
return false; | |
} | |
}); |