Skip to content

Commit

Permalink
ESlint decorators issue temporary fix eslint/eslint#15299 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Megabyteceer committed Mar 30, 2024
1 parent ae9201c commit bad9575
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
"prefer-const": 0,
"indent": [
"warn",
"tab"
"tab",
{
"ignoredNodes": [
"PropertyDefinition" /* ESLint decorators issue. https://github.com/eslint/eslint/issues/15299#issuecomment-968099681*/
]
}
],
"semi": "warn",
"quotes": [
Expand Down
8 changes: 4 additions & 4 deletions thing-editor/src/engine/lib/assets/src/basic/fill.c.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ export default class Fill extends Mesh {
}

@editable({ step: 0.0001 })
xShiftSpeed = 0;
xShiftSpeed = 0;

@editable({ step: 0.0001 })
yShiftSpeed = 0;
yShiftSpeed = 0;

/// #if EDITOR
@editable(TEXTURE_WRAP_MODE_DESC)
Expand Down Expand Up @@ -217,7 +217,7 @@ export default class Fill extends Mesh {
}

@editable({ step: 0.0001, visible: o => o.xWaveAmp !== 0 })
xWaveSpeed = 0;
xWaveSpeed = 0;

_yWaveAmp = 0;
@editable({ step: 0.001 })
Expand Down Expand Up @@ -259,7 +259,7 @@ export default class Fill extends Mesh {
}

@editable({ step: 0.0001, visible: o => o.yWaveAmp !== 0 })
yWaveSpeed = 0;
yWaveSpeed = 0;

transparencyUpdated = false;
_transparentTop = false;
Expand Down

0 comments on commit bad9575

Please sign in to comment.