generated from ChrisCrossCrash/r3f-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
31 lines (31 loc) · 838 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
env:
browser: true
es2021: true
extends:
- eslint:recommended
- plugin:react/recommended
- plugin:react/jsx-runtime
- plugin:@typescript-eslint/recommended
- plugin:storybook/recommended
- prettier
parser: '@typescript-eslint/parser'
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: latest
sourceType: module
plugins:
- react
- '@typescript-eslint'
rules:
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-non-null-assertion': off
# Without this, things like <meshStandardMaterial roughness={0.3} /> would
# trigger a false positive. Check if it's fixed with React 19.
# https://github.com/jsx-eslint/eslint-plugin-react/issues/3423
'react/no-unknown-property': off
ignorePatterns:
- '**/node_modules/**'
- '**/dist/**'
- '**/.storybook/**'
- '/public/draco_decoder.js'