Skip to content

Commit

Permalink
Merge pull request #196 from invariant-labs/staging
Browse files Browse the repository at this point in the history
Update prod
  • Loading branch information
wojciech-cichocki authored Jul 13, 2024
2 parents 1279912 + 2302145 commit a55b545
Show file tree
Hide file tree
Showing 92 changed files with 5,903 additions and 1,390 deletions.
30 changes: 15 additions & 15 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['react-refresh', 'react-hooks'],
rules: {
// 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
// indent: 'off',
// '@typescript-eslint/indent': 'off',
// 'multiline-ternary': 'off',
// 'no-unused-vars': 'off',
// '@typescript-eslint/no-unused-vars': 'off',
// '@typescript-eslint/explicit-function-return-type': 'off',
// '@typescript-eslint/prefer-reduce-type-parameter': 'off',
// '@typescript-eslint/strict-boolean-expressions': 'off',
// '@typescript-eslint/space-before-function-paren': 'off',
// '@typescript-eslint/prefer-nullish-coalescing': 'off',
// '@typescript-eslint/member-delimiter-style': 'off',
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
indent: 'off',
'@typescript-eslint/indent': 'off',
'multiline-ternary': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/space-before-function-paren': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-explicit-any': 'off',
// 'generator-star-spacing': ['error', { before: false, after: true }],
// 'yield-star-spacing': ['error', { before: false, after: true }],
'generator-star-spacing': ['error', { before: false, after: true }],
'yield-star-spacing': ['error', { before: false, after: true }],
'react-hooks/exhaustive-deps': 'off',
// 'react-hooks/rules-of-hooks': 'error',
'react-hooks/rules-of-hooks': 'error',
'@typescript-eslint/no-unused-vars': [
'error',
{
Expand Down
4 changes: 0 additions & 4 deletions .storybook/decorators.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import React from 'react'
import { Provider } from 'react-redux'

// export const withMaterialStyles = storyFn => (
// <StylesProvider injectFirst>{storyFn()}</StylesProvider>
// )

export const withStore = store => storyFn => <Provider store={store}>{storyFn()}</Provider>
2 changes: 0 additions & 2 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const preview: Preview = {
]
},
createBrowserRouter: { withRouter }
// actions: { argTypesRegex: '^on.*' }
},

decorators: [
Expand All @@ -85,7 +84,6 @@ const preview: Preview = {
Provider: ThemeProvider,
GlobalStyles: CssBaseline
})
// withRouter
]
}

Expand Down
3 changes: 0 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@

<link rel="canonical" href="https://invariant.app/" />
<link rel="manifest" href="/manifest.json" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self' 'wasm-unsafe-eval' https://www.googletagmanager.com; object-src 'none';" />

<style>
html {
Expand Down
Loading

0 comments on commit a55b545

Please sign in to comment.