Skip to content

Commit

Permalink
Revert "Lint on pre-commit (#5836)"
Browse files Browse the repository at this point in the history
This reverts commit d56ed46.
  • Loading branch information
walmat committed Jun 14, 2024
1 parent d56ed46 commit fea8f65
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 33 deletions.
10 changes: 1 addition & 9 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,4 @@ __generated__
coverage
src/browser
src/__swaps__/README.md
InjectedJSBundle.js
__mocks__
config
hardhat.config.js
index.js
metro.transform.js
rainbow-scripts
react-native.config.js
scripts
InjectedJSBundle.js
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,18 +518,6 @@
"src/react-native-shadow-stack/**/*.*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --check",
"yarn tsc --skipLibCheck --noEmit --allowJs",
"eslint --fix"
]
},
"lavamoat": {
"allowScripts": {
"$root$": false,
Expand All @@ -551,5 +539,11 @@
"viem>ws>bufferutil": false,
"viem>ws>utf-8-validate": false
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,graphql}": [
"prettier --write",
"eslint --cache"
]
}
}
13 changes: 1 addition & 12 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"allowJs": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
Expand Down Expand Up @@ -56,15 +55,5 @@
"resolveJsonModule": true
},
"globals": ["useTheme", "ios", "android", "web", "__DEV__", "IS_DEV"],
"exclude": [
"ios",
"src/browser",
"android",
"patches/reanimated",
"node_modules",
"babel.config.js",
"metro.config.js",
"jest.config.js"
],
"include": ["src", "types", "globals.d.ts", "e2e"]
"exclude": ["ios", "src/browser", "android", "patches/reanimated", "node_modules", "babel.config.js", "metro.config.js", "jest.config.js"]
}

0 comments on commit fea8f65

Please sign in to comment.