Skip to content

Commit

Permalink
FIx lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Jul 17, 2023
1 parent 23ee63b commit 85eb457
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 48 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ module.exports = {
'error',
{
default: {
memberTypes: require('@typescript-eslint/eslint-plugin/dist/rules/member-ordering')
.defaultOrder,
memberTypes: [],
order: 'alphabetically'
}
}
Expand Down Expand Up @@ -142,6 +141,7 @@ module.exports = {
'unicorn/no-array-callback-reference': 'off',
'unicorn/no-array-reduce': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-empty-file': 'off',
'unicorn/no-for-loop': 'off',
'unicorn/no-nested-ternary': 'off',
'unicorn/no-null': 'off',
Expand Down
1 change: 1 addition & 0 deletions docs/repl/components/ReplEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const properties = defineProps<{
moduleName?: string;
readonly?: boolean;
}>();
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const emit = defineEmits<{ (event: 'update:code', code: string): void }>();
let addWarningsEffect: AddWarnings;
let editor: EditorView;
Expand Down
1 change: 1 addition & 0 deletions docs/repl/components/ReplModule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ defineProps<{
module: Module;
showHeader: boolean;
}>();
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const emit = defineEmits<{ (event: 'remove'): void }>();
const input = ref<HTMLInputElement | null>(null);
Expand Down
1 change: 1 addition & 0 deletions docs/repl/components/SelectOption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<script setup lang="ts">
defineProps<{ selected: unknown; values: unknown[] }>();
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const emit = defineEmits<{ (event: 'select', selected: unknown): void }>();
</script>

Expand Down
64 changes: 20 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@
"date-time": "^4.0.0",
"es5-shim": "^4.6.7",
"es6-shim": "^0.35.8",
"eslint": "^8.44.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-unicorn": "^47.0.0",
"eslint-plugin-unicorn": "^48.0.0",
"eslint-plugin-vue": "^9.15.1",
"fixturify": "^3.0.0",
"flru": "^1.0.2",
Expand Down

0 comments on commit 85eb457

Please sign in to comment.