Add Raycaster for mouse picking
This commit is contained in:
parent
a6a7f5ba17
commit
08cdf0d41a
5 changed files with 85 additions and 11 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue