forked from react-materialize/react-materialize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (39 loc) · 948 Bytes
/
.eslintrc
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
32
33
34
35
36
37
38
39
40
41
42
43
44
# JavaScript Standard Style Guide: http://standardjs.com
# https://github.com/feross/eslint-config-standard-react
extends:
- standard-react
- prettier
parserOptions:
ecmaVersion: 6
ecmaFeatures:
jsx: true
experimentalObjectRestSpread: true
globals:
Materialize: true
React: true
ReactDOM: true
M: true
document: true
global: true
window: true
module: true
plugins: ['prettier', 'react-hooks']
env:
jquery: true
jest: true
rules:
prettier/prettier: [2]
react/jsx-no-bind: [0]
semi: [2, 'always']
react/no-unused-prop-types: [0]
react/jsx-curly-spacing: [0]
react/jsx-equals-spacing: [0]
react/jsx-indent: [0]
react/jsx-indent-props: [0]
react/jsx-space-before-closing: [0]
standard/array-bracket-even-spacing: [0]
standard/computed-property-even-spacing: [0]
standard/object-curly-even-spacing: [0]
no-undef: [2]
react-hooks/rules-of-hooks: [2]
react-hooks/exhaustive-deps: [2]