Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit a9cda07

Browse files
committed
updated eslint config
1 parent 10894d3 commit a9cda07

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.eslintrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
parser: "@typescript-eslint/parser",
3+
plugins: ["tsc", "jest"],
4+
root: true,
5+
extends: "@react-native-community",
6+
rules: {
7+
quotes: ["warn", "double", { allowTemplateLiterals: true }],
8+
"tsc/config": [
9+
1,
10+
{
11+
configFile: "tsconfig.json"
12+
}
13+
],
14+
"comma-dangle": 0,
15+
"react/prop-types": 1,
16+
"prettier/prettier": 1,
17+
"@typescript-eslint/no-unused-vars": 1
18+
},
19+
env: {
20+
"jest/globals": true
21+
}
22+
};

0 commit comments

Comments
 (0)