File tree Expand file tree Collapse file tree 4 files changed +54
-44
lines changed Expand file tree Collapse file tree 4 files changed +54
-44
lines changed Original file line number Diff line number Diff line change 1
- webpack.config.js
1
+ webpack.config.js
2
+ node_modules /
3
+ dist /
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ "env" : {
3
+ "browser" : true ,
4
+ "es6" : true ,
5
+ "jest/globals" : true
6
+ } ,
7
+ "extends" : [
8
+ "eslint:recommended" ,
9
+ "plugin:react/recommended"
10
+ ] ,
11
+ "parserOptions" : {
12
+ "ecmaFeatures" : {
13
+ "jsx" : true
14
+ } ,
15
+ "ecmaVersion" : 2018 ,
16
+ "sourceType" : "module"
17
+ } ,
18
+ "plugins" : [
19
+ "react" , "jest"
20
+ ] ,
21
+ "rules" : {
22
+ "indent" : [
23
+ "error" ,
24
+ 2
25
+ ] ,
26
+ "linebreak-style" : [
27
+ "error" ,
28
+ "unix"
29
+ ] ,
30
+ "quotes" : [
31
+ "error" ,
32
+ "single"
33
+ ] ,
34
+ "semi" : [
35
+ "error" ,
36
+ "never"
37
+ ] ,
38
+ "eqeqeq" : "error" ,
39
+ "no-trailing-spaces" : "error" ,
40
+ "object-curly-spacing" : [
41
+ "error" , "always"
42
+ ] ,
43
+ "arrow-spacing" : [
44
+ "error" , { "before" : true , "after" : true }
45
+ ] ,
46
+ "no-console" : 0 ,
47
+ "react/prop-types" : 0
48
+ }
49
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"start" : " webpack-dev-server --open --mode development" ,
8
8
"test" : " jest" ,
9
+ "eslint" : " eslint './**/*.{js,jsx}'" ,
9
10
"build" : " webpack --mode production"
10
11
},
11
12
"repository" : {
28
29
"babel-jest" : " ^25.5.1" ,
29
30
"babel-loader" : " ^8.1.0" ,
30
31
"eslint" : " ^6.8.0" ,
32
+ "eslint-plugin-jest" : " ^23.11.0" ,
31
33
"eslint-plugin-react" : " ^7.19.0" ,
32
34
"html-loader" : " ^1.1.0" ,
33
35
"html-webpack-plugin" : " ^4.3.0" ,
You can’t perform that action at this time.
0 commit comments