Skip to content

Commit 6864235

Browse files
committed
eslintrc is updated
1 parent 088e4e0 commit 6864235

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.eslintrc.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
root: true,
33
extends: "@react-native-community",
44
parser: "@typescript-eslint/parser",
5-
plugins: ["@typescript-eslint", "import"],
5+
plugins: ["import", "eslint-plugin-import", "@typescript-eslint"],
66
settings: {
77
"import/resolver": {
88
node: {
@@ -28,7 +28,6 @@ module.exports = {
2828
},
2929
},
3030
},
31-
extends: ["plugin:@typescript-eslint/recommended", "@react-native-community"],
3231
rules: {
3332
quotes: [
3433
"error",
@@ -57,15 +56,13 @@ module.exports = {
5756
"import/prefer-default-export": 0,
5857
"import/no-anonymous-default-export": 0,
5958
"import/named": 0,
59+
"@typescript-eslint/no-empty-interface": 0,
6060
"import/namespace": 0,
6161
"import/default": 0,
62-
"import/no-named-as-default-member": 0,
6362
"import/no-named-as-default": 0,
64-
"import/no-cycle": 0,
6563
"import/no-unused-modules": 0,
6664
"import/no-deprecated": 0,
6765
"@typescript-eslint/indent": 0,
68-
"import/no-anonymous-default-export": 2,
6966
"react-hooks/rules-of-hooks": 2,
7067
"react-hooks/exhaustive-deps": [
7168
"error",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-typescript-boilerplate",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "A lot of fundamental features with Typescript support React Native Boilerplate",
55
"scripts": {
66
"android": "react-native run-android",
@@ -42,6 +42,7 @@
4242
"@typescript-eslint/parser": "^4.15.1",
4343
"babel-jest": "^26.6.3",
4444
"babel-plugin-module-resolver": "^4.1.0",
45+
"eslint-plugin-import": "^2.22.1",
4546
"eslint": "^7.20.0",
4647
"husky": "^5.0.9",
4748
"jest": "^26.6.3",

0 commit comments

Comments
 (0)