|
23 | 23 | ],
|
24 | 24 | "scripts": {
|
25 | 25 | "typescript": "tsc --noEmit",
|
26 |
| - "lint": "eslint \"**/*.{js,ts,tsx}\"", |
| 26 | + "lint": "rome check ./", |
| 27 | + "format": "rome format ./ --write", |
27 | 28 | "build": "bob build",
|
28 | 29 | "prepare": "yarn build",
|
29 | 30 | "release": "yarn build && release-it",
|
|
47 | 48 | },
|
48 | 49 | "devDependencies": {
|
49 | 50 | "@babel/core": "7.20.2",
|
50 |
| - "@babel/eslint-parser": "7.19.1", |
51 | 51 | "@babel/preset-env": "7.20.2",
|
52 | 52 | "@commitlint/config-conventional": "17.2.0",
|
53 | 53 | "@evilmartians/lefthook": "1.2.0",
|
54 |
| - "@react-native-community/eslint-config": "3.2.0", |
55 | 54 | "@release-it/conventional-changelog": "5.1.1",
|
56 | 55 | "@testing-library/jest-native": "5.1.2",
|
57 | 56 | "@testing-library/react-native": "11.4.0",
|
58 | 57 | "@types/jest": "29.2.2",
|
59 | 58 | "@types/marked": "4.0.7",
|
60 | 59 | "@types/react": "18.0.25",
|
61 | 60 | "@types/react-native": "0.70.6",
|
62 |
| - "@typescript-eslint/eslint-plugin": "5.42.1", |
63 |
| - "@typescript-eslint/parser": "5.42.1", |
64 | 61 | "commitlint": "17.2.0",
|
65 |
| - "eslint": "8.27.0", |
66 |
| - "eslint-config-prettier": "8.5.0", |
67 |
| - "eslint-plugin-jest": "27.1.4", |
68 |
| - "eslint-plugin-prettier": "4.2.1", |
69 |
| - "eslint-plugin-react-native-a11y": "3.3.0", |
70 | 62 | "jest": "29.3.1",
|
71 | 63 | "jest-environment-jsdom": "29.3.1",
|
72 | 64 | "metro-react-native-babel-preset": "0.73.3",
|
73 | 65 | "pod-install": "0.1.38",
|
74 |
| - "prettier": "2.7.1", |
75 | 66 | "react": "18.2.0",
|
76 | 67 | "react-native": "0.70.5",
|
77 | 68 | "react-native-builder-bob": "0.20.1",
|
78 | 69 | "react-test-renderer": "18.2.0",
|
79 | 70 | "release-it": "15.5.0",
|
| 71 | + "rome": "10.0.0", |
80 | 72 | "typescript": "4.8.4"
|
81 | 73 | },
|
82 | 74 | "resolutions": {
|
|
141 | 133 | }
|
142 | 134 | }
|
143 | 135 | },
|
144 |
| - "eslintConfig": { |
145 |
| - "root": true, |
146 |
| - "parser": "@typescript-eslint/parser", |
147 |
| - "extends": [ |
148 |
| - "@react-native-community", |
149 |
| - "prettier", |
150 |
| - "plugin:@typescript-eslint/recommended", |
151 |
| - "plugin:react-native-a11y/all" |
152 |
| - ], |
153 |
| - "plugins": [ |
154 |
| - "jest" |
155 |
| - ], |
156 |
| - "rules": { |
157 |
| - "prettier/prettier": [ |
158 |
| - "error", |
159 |
| - { |
160 |
| - "quoteProps": "consistent", |
161 |
| - "singleQuote": true, |
162 |
| - "tabWidth": 2, |
163 |
| - "trailingComma": "es5", |
164 |
| - "useTabs": false |
165 |
| - } |
166 |
| - ], |
167 |
| - "@typescript-eslint/ban-ts-comment": "off" |
168 |
| - }, |
169 |
| - "env": { |
170 |
| - "jest/globals": true |
171 |
| - } |
172 |
| - }, |
173 |
| - "eslintIgnore": [ |
174 |
| - "node_modules/", |
175 |
| - "dist/", |
176 |
| - "examples/*/node_modules", |
177 |
| - "coverage" |
178 |
| - ], |
179 |
| - "prettier": { |
180 |
| - "quoteProps": "consistent", |
181 |
| - "singleQuote": true, |
182 |
| - "tabWidth": 2, |
183 |
| - "trailingComma": "es5", |
184 |
| - "useTabs": false |
185 |
| - }, |
186 | 136 | "react-native-builder-bob": {
|
187 | 137 | "source": "src",
|
188 | 138 | "output": "dist",
|
|
0 commit comments