-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.79 KB
/
package.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "@normellis/zine",
"version": "0.1.0",
"author": "normellis",
"main": "src/index.ts" ,
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^28.1.8",
"@types/node": "^18.7.13",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unused-imports": "^2.0.0",
"prettier": "^2.7.1",
"typescript": "^4.8.2"
},
"scripts": {
"lint:write": "eslint --fix \"src/**/*.{js,ts,jsx,tsx}\"",
"cli:init": "cd cli && yarn link && cd ../ && yarn link zine-cli"
},
"eslintConfig": {
"ignorePatterns": [
"./src/templates/index.ts"
],
"extends": [
"react-app",
"react-app/jest",
"prettier"
],
"plugins": [
"unused-imports",
"prettier"
],
"rules": {
"import/no-unresolved": 0,
"import/first": 1,
"import/order": [
1,
{
"newlines-between": "always"
}
],
"import/newline-after-import": 1,
"import/no-commonjs": 0,
"import/no-named-as-default": 0,
"prettier/prettier": "error",
"arrow-body-style": "off",
"prefer-arrow-callback": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
]
}
}
}