Skip to content

Commit 7a0c0e9

Browse files
authored
fix: remove babel-eslint parser due to lack of support for typescript (#274)
This PR removes `@babel/eslint-parser` as it causes Eslint to crash. It's crashing because babel eslint parser doesn't support typescript rules. For more details about that you can [visit babel eslint package](https://www.npmjs.com/package/@babel/eslint-parser#typescript)
1 parent 782312d commit 7a0c0e9

File tree

1 file changed

+0
-2
lines changed
  • packages/create-react-native-library/templates/common

1 file changed

+0
-2
lines changed

packages/create-react-native-library/templates/common/$package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
},
4848
"devDependencies": {
4949
"@arkweid/lefthook": "^0.7.7",
50-
"@babel/eslint-parser": "^7.18.2",
5150
"@commitlint/config-conventional": "^17.0.2",
5251
"@react-native-community/eslint-config": "^3.0.2",
5352
"@release-it/conventional-changelog": "^5.0.0",
@@ -105,7 +104,6 @@
105104
},
106105
"eslintConfig": {
107106
"root": true,
108-
"parser": "@babel/eslint-parser",
109107
"extends": [
110108
"@react-native-community",
111109
"prettier"

0 commit comments

Comments
 (0)