-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
70 lines (70 loc) · 2.07 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
{
"name": "async-storage-flipper",
"version": "0.0.5",
"description": "React Native's Async Storage debugger for Flipper",
"main": "index.js",
"scripts": {
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
"fix": "npm run fix:other && npm run fix:code",
"fix:code": "npm run test:code -- --fix",
"fix:other": "npm run prettier -- --write",
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore"
},
"keywords": [
"flipper",
"react-native",
"async-storage"
],
"author": "Faustino Kialungila <[email protected]>",
"license": "MIT",
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"lerna": "^3.20.2",
"prettier": "^2.0.4"
},
"eslintConfig": {
"extends": [
"prettier",
"prettier/@typescript-eslint",
"prettier/react"
],
"plugins": [
"prettier"
],
"rules": {
"curly": "warn",
"no-console": [
"warn",
{
"allow": [
"warn",
"error",
"info"
]
}
],
"no-else-return": "warn",
"no-useless-return": "warn",
"prefer-const": [
"warn",
{
"destructuring": "all"
}
],
"prefer-template": "warn",
"prettier/prettier": "warn",
"no-restricted-syntax": [
"warn",
{
"selector": "JSXText[value=/\\w/]",
"message": "Use 't(...)' instead of literal text in JSX"
}
]
}
}
}