Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
e9bb9fd
[ci skip] Translation update
homeassistant Apr 8, 2020
a71f423
Fix first logbook item not being shown (#5491)
bramkragten Apr 8, 2020
4f70ec7
Set correct lang attribute (#5479)
bramkragten Apr 8, 2020
4388d82
Fix gallery translation and add more demos (#5473)
bramkragten Apr 8, 2020
7ddfe3c
Fix cast panel view (#5488)
bramkragten Apr 8, 2020
2253275
Filter add-ons in the store based on advanced mode (#5486)
ludeeus Apr 8, 2020
ebb20ab
Make unavailable elements disabled (#5386)
bramkragten Apr 8, 2020
903f92f
Update developer-tools-state.js
bramkragten Apr 8, 2020
b390e7b
Fix sidebar derived style (#5493)
bramkragten Apr 8, 2020
14eb496
Import ha-fab (#5494)
ludeeus Apr 8, 2020
f9d78a9
[ci skip] Translation update
homeassistant Apr 9, 2020
cb255ef
Add icons when adding integration (#5500)
balloob Apr 9, 2020
35c2d89
fix imports (#5506)
bramkragten Apr 9, 2020
cd1bfe1
Fix map init on connected (#5505)
bramkragten Apr 9, 2020
0c06517
Remove sort now that data-table does it (#5508)
bramkragten Apr 9, 2020
baf5dcb
Migrate automations config panel to router (#5509)
bramkragten Apr 9, 2020
47e9eb5
[ci skip] Translation update
homeassistant Apr 10, 2020
ee278f1
Convert script config panel to router (#5512)
bramkragten Apr 10, 2020
0c1714e
Reload frontend if backend changes (#5489)
balloob Apr 10, 2020
bd98ce8
Make add devices button available on ZHA coordinator (#5431)
dmulcahey Apr 10, 2020
b632ea6
Add icons to info panel (#5501)
balloob Apr 10, 2020
5414092
[ci skip] Translation update
homeassistant Apr 11, 2020
c4c4782
Fix hui-entities-card margin (#5518)
balloob Apr 11, 2020
7f528c9
[ci skip] Translation update
homeassistant Apr 12, 2020
d33c0b4
[ci skip] Translation update
homeassistant Apr 13, 2020
b17490f
[ci skip] Translation update
homeassistant Apr 14, 2020
82f80db
Update typescript, prettier, tslint -> eslint (#5536)
bramkragten Apr 14, 2020
4f9d77b
Remove tslint -> move ts to eslint
bramkragten Apr 14, 2020
3d20d8b
remove @types/chromecast-caf-sender (#5537)
bramkragten Apr 14, 2020
681c05c
Add Lit analyzer (#5538)
bramkragten Apr 14, 2020
57d72bd
Bumped version to 20200414.0
bramkragten Apr 14, 2020
d62da5e
Merge branch 'master' into dev
bramkragten Apr 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
80 changes: 0 additions & 80 deletions .eslintrc-hound.json

This file was deleted.

102 changes: 95 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,100 @@
{
"extends": "./.eslintrc-hound.json",
"plugins": ["react"],
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb-typescript/base",
"plugin:wc/recommended",
"plugin:lit/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"sourceType": "module",
"project": "./tsconfig.json"
},
"settings": {
"react": {
"pragma": "h",
"version": "15.0"
},
"import/resolver": {
"webpack": {
"config": "./webpack.config.js"
}
}
},
"globals": {
"__DEV__": false,
"__DEMO__": false,
"__BUILD__": false,
"__VERSION__": false,
"__STATIC_PATH__": false,
"Polymer": true,
"webkitSpeechRecognition": false,
"ResizeObserver": false
},
"env": {
"browser": true
"browser": true,
"es6": true
},
"rules": {
"import/no-unresolved": 2,
"linebreak-style": 0,
"implicit-arrow-linebreak": 0
}
"class-methods-use-this": 0,
"new-cap": 0,
"prefer-template": 0,
"object-shorthand": 0,
"func-names": 0,
"prefer-arrow-callback": 0,
"no-underscore-dangle": 0,
"no-var": 0,
"strict": 0,
"prefer-spread": 0,
"no-plusplus": 0,
"no-bitwise": 0,
"comma-dangle": 0,
"vars-on-top": 0,
"no-continue": 0,
"no-param-reassign": 0,
"no-multi-assign": 0,
"radix": 0,
"no-alert": 0,
"no-return-await": 0,
"no-nested-ternary": 0,
"prefer-destructuring": 0,
"no-restricted-globals": [2, "event"],
"prefer-promise-reject-errors": 0,
"import/order": 0,
"import/prefer-default-export": 0,
"import/no-unresolved": 0,
"import/no-cycle": 0,
"import/extensions": [
2,
"ignorePackages",
{ "ts": "never", "js": "never" }
],
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
"object-curly-newline": 0,
"default-case": 0,
"wc/no-self-class": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/explicit-function-return-type": 0
},
"plugins": [
"disable",
"import",
"react",
"lit",
"prettier",
"@typescript-eslint"
],
"processor": "disable/disable"
}
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@ name: Request a feature for the UI, Frontend or Lovelace
about: Request an new feature for the Home Assistant frontend.
labels: feature request
---

<!--
DO NOT DELETE ANY TEXT from this template!
Otherwise, your request may be closed without comment.
-->

## The request
<!--

<!--
Describe to our maintainers, the feature you would like to be added.
Please be clear and concise and, if possible, provide a screenshot or mockup.
-->


## The alternatives

<!--
Are you currently using, or have you considered alternatives?
If so, could you please describe those?
-->


## Additional information

18 changes: 12 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->

## Breaking change

<!--
If your PR contains a breaking change for existing users, it is important
to tell them what breaks, how to make it work again and why we did this.
Expand All @@ -11,20 +13,20 @@
Note: Remove this section if this PR is NOT a breaking change.
-->


## Proposed change
<!--

<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or resolves a feature request, be sure to link to that issue in the
additional information section.
-->


## Type of change

<!--
What type of change does your PR introduce to the Home Assistant frontend?
NOTE: Please, check only 1! box!
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->
Expand All @@ -36,6 +38,7 @@
- [ ] Code quality improvements to existing code or addition of tests

## Example configuration

<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR.
Expand All @@ -46,16 +49,18 @@
```

## Additional information

<!--
Details are important, and help maintainers processing your PR.
Please be sure to fill out additional details, if applicable.
-->

- This PR fixes or closes issue: fixes #
- This PR is related to issue:
- Link to documentation pull request:
- This PR is related to issue:
- Link to documentation pull request:

## Checklist

<!--
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
Expand All @@ -74,4 +79,5 @@ If user exposed functionality or configuration variables are added/changed:
<!--
Thank you for contributing <3
-->

[docs-repository]: https://github.com/home-assistant/home-assistant.io
2 changes: 1 addition & 1 deletion .github/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ only: pulls

# Optionally, specify configuration settings just for `issues` or `pulls`
issues:
daysUntilLock: 30
daysUntilLock: 30
4 changes: 1 addition & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:
- name: Build translations
run: ./node_modules/.bin/gulp build-translations
- name: Run eslint
run: ./node_modules/.bin/eslint src hassio/src gallery/src
- name: Run tslint
run: ./node_modules/.bin/tslint 'src/**/*.ts' 'hassio/src/**/*.ts' 'gallery/src/**/*.ts' 'cast/src/**/*.ts' 'test-mocha/**/*.ts'
run: ./node_modules/.bin/eslint '{**/src,src}/**/*.{js,ts,html}' --ignore-path .gitignore
- name: Run tsc
run: ./node_modules/.bin/tsc
test:
Expand Down
37 changes: 37 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
build
build-translations/*
translations/*
node_modules/*
npm-debug.log
.DS_Store
hass_frontend/*
.reify-cache
demo/hademo-icons.html

# Python stuff
*.py[cod]
*.egg
*.egg-info

# venv stuff
pyvenv.cfg
pip-selfcheck.json
venv
.venv
lib
bin
dist

# vscode
.vscode/*
!.vscode/extensions.json

# Cast dev settings
src/cast/dev_const.ts

# Secrets
.lokalise_token
yarn-error.log

#asdf
.tool-versions
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-tslint-plugin",
"esbenp.prettier-vscode",
"bierner.lit-html",
"runem.lit-plugin"
Expand Down
4 changes: 2 additions & 2 deletions cast/src/launcher/entrypoint.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "../../../src/resources/ha-style";
import "../../../src/resources/roboto";
import "../../../src/components/ha-iconset-svg";
import "../../../src/resources/ha-style";
import "../../../src/resources/hass-icons";
import "../../../src/resources/roboto";
import "./layout/hc-connect";
Loading