Skip to content

Commit 80e970b

Browse files
committed
added standardjs to lint the setup.js and now using consistently 2 spaces indent
1 parent dc432ee commit 80e970b

File tree

7 files changed

+2006
-103
lines changed

7 files changed

+2006
-103
lines changed

devDependencies.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[
2-
"@types/jest",
3-
"@types/react",
4-
"@types/react-native",
5-
"@types/react-test-renderer",
6-
"react-native-typescript-transformer",
7-
"ts-jest",
8-
"typescript"
2+
"@types/jest",
3+
"@types/react",
4+
"@types/react-native",
5+
"@types/react-test-renderer",
6+
"react-native-typescript-transformer",
7+
"ts-jest",
8+
"typescript"
99
]

jest.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"transform": {
3-
"^.+\\.tsx?$": "ts-jest"
4-
},
5-
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
6-
"moduleFileExtensions": [
7-
"ts",
8-
"tsx",
9-
"js",
10-
"jsx",
11-
"json",
12-
"node"
13-
],
14-
"modulePaths": ["<rootDir>"]
2+
"transform": {
3+
"^.+\\.tsx?$": "ts-jest"
4+
},
5+
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
6+
"moduleFileExtensions": [
7+
"ts",
8+
"tsx",
9+
"js",
10+
"jsx",
11+
"json",
12+
"node"
13+
],
14+
"modulePaths": ["<rootDir>"]
1515
}

0 commit comments

Comments
 (0)