DEV: Update linting (#48)

This commit is contained in:
David Taylor 2024-11-20 18:17:25 +00:00 committed by GitHub
parent 7d53aeef40
commit 32d2dcd864
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 24 additions and 11 deletions

View File

@ -12,7 +12,7 @@
<div class="input"> <div class="input">
<Input <Input
{{on "input" this.updateKey}} {{on "input" this.updateKey}}
@value={{readonly form.key}} @value={{readonly this.form.key}}
class="placeholder-builder__key" class="placeholder-builder__key"
/> />
</div> </div>
@ -26,7 +26,7 @@
<div class="input"> <div class="input">
<Input <Input
{{on "input" this.updateDescription}} {{on "input" this.updateDescription}}
@value={{readonly form.description}} @value={{readonly this.form.description}}
class="placeholder-builder__description" class="placeholder-builder__description"
/> />
</div> </div>
@ -43,10 +43,10 @@
<MultiSelect <MultiSelect
@valueProperty={{null}} @valueProperty={{null}}
@nameProperty={{null}} @nameProperty={{null}}
@value={{form.values}} @value={{this.form.values}}
@content={{form.values}} @content={{this.form.values}}
@options={{hash allowAny=true placementStrategy="absolute"}} @options={{hash allowAny=true placementStrategy="absolute"}}
@onChange={{fn (mut form.values)}} @onChange={{fn (mut this.form.values)}}
class="placeholder-builder__default-values" class="placeholder-builder__default-values"
/> />
</div> </div>

View File

@ -1,7 +1,7 @@
{ {
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@discourse/lint-configs": "2.0.1", "@discourse/lint-configs": "2.2.1",
"ember-template-lint": "6.0.0", "ember-template-lint": "6.0.0",
"eslint": "9.14.0", "eslint": "9.14.0",
"prettier": "2.8.8" "prettier": "2.8.8"

View File

@ -9,8 +9,8 @@ importers:
.: .:
devDependencies: devDependencies:
'@discourse/lint-configs': '@discourse/lint-configs':
specifier: 2.0.1 specifier: 2.2.1
version: 2.0.1(ember-template-lint@6.0.0)(eslint@9.14.0)(prettier@2.8.8) version: 2.2.1(ember-template-lint@6.0.0)(eslint@9.14.0)(prettier@2.8.8)
ember-template-lint: ember-template-lint:
specifier: 6.0.0 specifier: 6.0.0
version: 6.0.0 version: 6.0.0
@ -141,8 +141,8 @@ packages:
resolution: {integrity: sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==} resolution: {integrity: sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
'@discourse/lint-configs@2.0.1': '@discourse/lint-configs@2.2.1':
resolution: {integrity: sha512-4AKSzX4EYIEAtTCj+1+VKx0ziQ5XbYJZuQQ8cxhE7/amRloWyuM3YuDpa5x1r2zaLRbfEHXjlveVk+obMRLPqw==} resolution: {integrity: sha512-cXA6erpwaN9/wX+pNHUeDws6hdQEewfPb+nmWQNAaD72FTDKpjNmwxKDaVH1p65yVsF8SdNRZGKdAnOjkH42aw==}
peerDependencies: peerDependencies:
ember-template-lint: 6.0.0 ember-template-lint: 6.0.0
eslint: ^9.14.0 eslint: ^9.14.0
@ -288,6 +288,12 @@ packages:
resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==}
engines: {node: '>=18'} engines: {node: '>=18'}
'@stylistic/eslint-plugin-js@2.11.0':
resolution: {integrity: sha512-btchD0P3iij6cIk5RR5QMdEhtCCV0+L6cNheGhGCd//jaHILZMTi/EOqgEDAf1s4ZoViyExoToM+S2Iwa3U9DA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: '>=8.40.0'
'@types/eslint@8.56.12': '@types/eslint@8.56.12':
resolution: {integrity: sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==} resolution: {integrity: sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==}
@ -1935,11 +1941,12 @@ snapshots:
'@babel/helper-string-parser': 7.25.9 '@babel/helper-string-parser': 7.25.9
'@babel/helper-validator-identifier': 7.25.9 '@babel/helper-validator-identifier': 7.25.9
'@discourse/lint-configs@2.0.1(ember-template-lint@6.0.0)(eslint@9.14.0)(prettier@2.8.8)': '@discourse/lint-configs@2.2.1(ember-template-lint@6.0.0)(eslint@9.14.0)(prettier@2.8.8)':
dependencies: dependencies:
'@babel/core': 7.26.0 '@babel/core': 7.26.0
'@babel/eslint-parser': 7.25.9(@babel/core@7.26.0)(eslint@9.14.0) '@babel/eslint-parser': 7.25.9(@babel/core@7.26.0)(eslint@9.14.0)
'@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.0) '@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.0)
'@stylistic/eslint-plugin-js': 2.11.0(eslint@9.14.0)
ember-template-lint: 6.0.0 ember-template-lint: 6.0.0
eslint: 9.14.0 eslint: 9.14.0
eslint-plugin-decorator-position: 6.0.0(@babel/eslint-parser@7.25.9(@babel/core@7.26.0)(eslint@9.14.0))(eslint@9.14.0) eslint-plugin-decorator-position: 6.0.0(@babel/eslint-parser@7.25.9(@babel/core@7.26.0)(eslint@9.14.0))(eslint@9.14.0)
@ -2118,6 +2125,12 @@ snapshots:
'@sindresorhus/merge-streams@2.3.0': {} '@sindresorhus/merge-streams@2.3.0': {}
'@stylistic/eslint-plugin-js@2.11.0(eslint@9.14.0)':
dependencies:
eslint: 9.14.0
eslint-visitor-keys: 4.2.0
espree: 10.3.0
'@types/eslint@8.56.12': '@types/eslint@8.56.12':
dependencies: dependencies:
'@types/estree': 1.0.6 '@types/estree': 1.0.6