1
+ // THIS FILE IS AUTO-GENERATED. DO NOT MODIFY THIS FILE BY HAND
2
+ module . exports = {
3
+ "plugins" : [
4
+ "html" ,
5
+ "json" ,
6
+ "babel" ,
7
+ "react-hooks"
8
+ ] ,
9
+ "extends" : [
10
+ "airbnb" ,
11
+ "plugin:import/typescript" ,
12
+ "prettier/react" ,
13
+ "plugin:jest/recommended" ,
14
+ "plugin:prettier/recommended"
15
+ ] ,
16
+ "rules" : {
17
+ "no-console" : [
18
+ "warn" ,
19
+ {
20
+ "allow" : [
21
+ "error" ,
22
+ "trace" ,
23
+ "time"
24
+ ]
25
+ }
26
+ ] ,
27
+ "no-param-reassign" : "off" ,
28
+ "no-plusplus" : "off" ,
29
+ "no-unused-expressions" : "off" ,
30
+ "babel/no-unused-expressions" : [
31
+ "warn" ,
32
+ {
33
+ "allowShortCircuit" : true
34
+ }
35
+ ] ,
36
+ "no-use-before-define" : [
37
+ "error" ,
38
+ {
39
+ "functions" : false ,
40
+ "classes" : true ,
41
+ "variables" : true
42
+ }
43
+ ] ,
44
+ "no-warning-comments" : 1 ,
45
+ "prefer-destructuring" : "off" ,
46
+ "camelcase" : "off" ,
47
+ "import/no-extraneous-dependencies" : [
48
+ "error" ,
49
+ {
50
+ "devDependencies" : [
51
+ "**/*.stories.js" ,
52
+ "**/*.test.js" ,
53
+ "**/*.spec.js" ,
54
+ "**/demo/**" ,
55
+ "**/docs/**" ,
56
+ "**/fixtures/**"
57
+ ]
58
+ }
59
+ ] ,
60
+ "jsx-a11y/label-has-for" : 0 ,
61
+ "jsx-a11y/label-has-associated-control" : [
62
+ 2 ,
63
+ {
64
+ "assert" : "either"
65
+ }
66
+ ] ,
67
+ "react/prop-types" : "off" ,
68
+ "react/jsx-filename-extension" : "off" ,
69
+ "react/require-default-props" : "off" ,
70
+ "react-hooks/rules-of-hooks" : "error" ,
71
+ "react-hooks/exhaustive-deps" : "warn" ,
72
+ "jest/no-large-snapshots" : "error" ,
73
+ "prettier/prettier" : [
74
+ "warn" ,
75
+ {
76
+ "arrowParens" : "always" ,
77
+ "printWidth" : 120 ,
78
+ "semi" : false ,
79
+ "singleQuote" : true ,
80
+ "trailingComma" : "es5"
81
+ }
82
+ ]
83
+ } ,
84
+ "env" : {
85
+ "es6" : true ,
86
+ "browser" : true
87
+ } ,
88
+ "parserOptions" : {
89
+ "ecmaVersion" : 2020 ,
90
+ "sourceType" : "module" ,
91
+ "ecmaFeatures" : {
92
+ "jsx" : true
93
+ }
94
+ } ,
95
+ "parser" : "babel-eslint"
96
+ }
0 commit comments