10 Commits

Author SHA1 Message Date
Lars den Bakker
c9dc557f63 feat(dev-server-hmr): add web component HMR plugin 2020-11-23 19:13:35 +01:00
Thomas Allmer
1ed49ff7ac chore: move to github actions and changeset 2020-10-25 08:46:32 +01:00
Pascal Schilp
3232d0db5d feat: add eslint-plugin-lit-a11y (#1781)
* feat: add eslint-plugin-lit-a11y

* feat: implement getImplicitRole

* feat: add getExplicitRole

* feat: add isHiddenFromScreenReader

* feat: implement anchor-has-content

* feat: add no-redundant-role

* feat: add scope rule

* feat: implement autocomplete-valid

* feat: implement iframe-title

* feat: implement heading-has-content

* chore: disable ts check

* feat: implement no-distracting-elements

* chore: add ts-nocheck

* feat: add attributesComparator and isInteractiveElement

* feat: implement isPresentationRole

* feat: implement aria-activedescendant-has-tabindex

* chore: add templates

* feat: implement click-events-have-key-events

* chore: fix linting (lol)

* feat: implement accessible-emoji

* feat: implement mouse-events-have-key-events

* feat: implement anchor-is-valid

* refactor: props to attrs

* feat: implement aria-attr-types

* refactor: refactor templateExpressionToHtml

* chore: update yarn.lock

* refactor/eslint-plugin-lit-a11y/types (#1871)

* refactor(eslint-plugin-lit-a11y): add, fix types

adds 'suggestion' type to all rules
adds 'Accessibility' category to all rules
defines 'Visitor' type
defines 'is*TaggedTemplate' helpers
defines 'isAria*' helpers
updates rule template
removes instances of for...in
adds oxford comma
removes use of global isNaN
collapses nested if statements
removes eslint-disable comments in most cases
update yarn lock

* fix(eslint-plugin-lit-a11y): improve errors

makes error messages more descriptive

* docs(eslint-plugin-lit-a11y): update docs

* fix(eslint-plugin-lit-a11y): type error

skips checking if `static get properties` element is a spread

* fix(create): ignore type error from @types/eslint

* style(eslint-plugin-lit-a11y): make code "pretty"

* chore: resolve @types/estree version

* chore: prepare for release

* chore: prettier

Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com>
2020-10-14 14:27:15 +02:00
Thomas Allmer
04a58460ff chore: move most devDependencies to the root 2020-04-12 21:55:58 +02:00
Benny Powers
41b928dc35 feat(eslint-config): use eslint-plugin-no-only-tests (#914) 2019-10-28 22:18:37 +01:00
bennypowers
0ce0d9782c chore: add eslint-plugin-no-only-tests 2019-10-28 15:48:50 +02:00
Abdón Rodríguez Davila
52909e8fba feat(eslint-config): update dependencies 2019-08-14 06:24:49 -07:00
Thomas Allmer
a12bb09a65 fix: properly apply prettier 2018-12-20 17:04:23 +01:00
Thomas Allmer
43acfad699 fix: apply prettier; add lint-staged 2018-12-12 23:18:46 +01:00
Thomas Allmer
6cfd014adf chore: apply eslint config 2018-09-29 01:09:39 +02:00