Add Raycaster for mouse picking

This commit is contained in:
Nettika 2026-01-29 01:23:34 -08:00
parent a6a7f5ba17
commit 08cdf0d41a
No known key found for this signature in database
5 changed files with 85 additions and 11 deletions

View file

@ -2,12 +2,20 @@ import js from '@eslint/js'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
import eslintConfigPrettier from 'eslint-config-prettier'
import globals from 'globals'
export default tseslint.config(
{ ignores: ['dist', 'node_modules'] },
js.configs.recommended,
...tseslint.configs.recommended,
...pluginVue.configs['flat/recommended'],
{
languageOptions: {
globals: {
...globals.browser,
},
},
},
{
files: ['**/*.vue'],
languageOptions: {
@ -15,6 +23,9 @@ export default tseslint.config(
parser: tseslint.parser,
},
},
rules: {
'vue/multi-word-component-names': 'off',
},
},
eslintConfigPrettier
)