Skip to content

Commit

Permalink
Convert stories, pages to typescript and fix other errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Sorokin committed Sep 3, 2020
1 parent 6535c3d commit 6fdd10d
Show file tree
Hide file tree
Showing 163 changed files with 3,563 additions and 14,018 deletions.
2 changes: 0 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"@babel/plugin-proposal-object-rest-spread"
],
"presets": [
"@babel/preset-flow",
[
"@babel/preset-env",
{
Expand All @@ -19,7 +18,6 @@
"env": {
"testing": {
"presets":[
"@babel/preset-flow",
"@babel/preset-env",
"@babel/preset-react"
]
Expand Down
1 change: 0 additions & 1 deletion .creevey/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ require("@babel/register")({
babelrc: false,
extensions: [".js", ".jsx", ".ts", ".tsx"],
presets: [
"@babel/preset-flow",
[
"@babel/preset-env",
{
Expand Down
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"error",
{
"order": [
"state",
"type-annotations",
"instance-variables",
"lifecycle",
"static-methods",
"render",
Expand All @@ -42,6 +44,7 @@
"react/prop-types": "off",
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "args": "all", "ignoreRestSiblings": true}]
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "args": "all", "ignoreRestSiblings": true}],
"@typescript-eslint/ban-ts-comment": ["error", { "ts-ignore": "allow-with-description" }]
}
}
Loading

0 comments on commit 6fdd10d

Please sign in to comment.