Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove suppressImplicityAnyIndexErrors
  • Loading branch information
joshuaellis committed Apr 10, 2023
commit 233d2c45ccf0a13c897a5985bd556cc9b0389378
6 changes: 3 additions & 3 deletions .github/publish-ci/are-the-types-wrong/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"module": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
"jsx": "react",

"jsx": "react"
}
}
}
10 changes: 2 additions & 8 deletions .github/publish-ci/cra4/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
Expand All @@ -20,7 +16,5 @@
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
"include": ["src"]
}
10 changes: 2 additions & 8 deletions .github/publish-ci/cra5/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
Expand All @@ -20,7 +16,5 @@
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
"include": ["src"]
}
16 changes: 3 additions & 13 deletions .github/publish-ci/next/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -19,12 +15,6 @@
"jsx": "preserve",
"incremental": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/animating-auto/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/card/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/cards-stack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/chain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/css-gradients/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/css-keyframes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/css-variables/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/draggable-list/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/exit-before-enter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/flip-card/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/floating-button/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
1 change: 0 additions & 1 deletion demo/src/sandboxes/goo-blobs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/image-fade/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/list-reordering/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/macos-dock/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/masonry/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/multistage-transition/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/notification-hub/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/parallax-sticky/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/parallax-vert/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/parallax/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/popup-modal/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/rocket-decay/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/scrolling-wave/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/simple-transition/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/slide/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/smile-grid/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/springy-boxes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/svg-filter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/trail/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
2 changes: 1 addition & 1 deletion demo/src/sandboxes/tree/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,

"noUnusedLocals": true
}
}
1 change: 0 additions & 1 deletion demo/src/sandboxes/viewpager/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true
}
}
1 change: 0 additions & 1 deletion demo/src/sandboxes/webgl-switch/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"docs:dev": "yarn workspace @react-spring/docs dev",
"docs:build": "yarn workspace @react-spring/docs build",
"demo:dev": "yarn workspace @react-spring/demo dev",
"prettier:write": "prettier --write \"**/*.{ts,tsx,md}\"",
"prettier:check": "prettier --check \"**/*.{ts,tsx,md}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx,md,json}\"",
"prettier:check": "prettier --check \"**/*.{ts,tsx,md,json}\"",
"lint": "turbo run lint",
"package": "turbo run pack",
"postinstall": "remix setup node",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"suppressImplicitAnyIndexErrors": true,

"strictNullChecks": true
}
}