-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Arize-ai/upgrade-deps-storybook
chore: bump storybook and @react-three/drei
- Loading branch information
Showing
40 changed files
with
6,235 additions
and
50,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env", "@babel/preset-react","@babel/preset-typescript" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
node: true, | ||
jest: true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"prettier", | ||
], | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
impliedStrict: true, | ||
}, | ||
plugins: [ | ||
"@typescript-eslint", | ||
"react", | ||
"import", | ||
// Not strictly needed but fixes un-used imports via --fix | ||
"unused-imports", | ||
], | ||
rules: { | ||
"import/order": "error", | ||
"no-unused-vars": "off", | ||
"unused-imports/no-unused-imports": "error", | ||
/** | ||
* ignore if the variable starts with an underscore | ||
*/ | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, | ||
], | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"react/prop-types": 0, | ||
"react/display-name": 0, | ||
"no-console": "error", | ||
"func-names": ["error", "always"], | ||
strict: ["error", "global"], | ||
"prefer-const": "error", | ||
"react/no-unknown-property": [ | ||
"error", | ||
{ | ||
ignore: [ | ||
"css", | ||
"vertexColors", | ||
"args", | ||
"attach", | ||
"transparent", | ||
"geometry", | ||
"visible", | ||
"wireframe", | ||
], | ||
}, | ||
], | ||
}, | ||
settings: { | ||
react: { | ||
createClass: "createReactClass", // Regex for Component Factory to use, | ||
// default to "createReactClass" | ||
pragma: "React", // Pragma to use, default to "React" | ||
version: "detect", // React version. "detect" automatically picks the version you have installed. | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ node_modules | |
.cache | ||
dist | ||
.vscode | ||
storybook-static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
module.exports = { | ||
stories: ['../stories/**/*.stories.@(ts|tsx|js|jsx)'], | ||
addons: ['@storybook/addon-links', '@storybook/addon-essentials'], | ||
// https://storybook.js.org/docs/react/configure/typescript#mainjs-configuration | ||
typescript: { | ||
check: true, // type-check stories during Storybook build | ||
}, | ||
addons: ['storybook-addon-designs'], | ||
|
||
addons: [ | ||
'storybook-addon-designs', | ||
'@storybook/addon-webpack5-compiler-babel', | ||
], | ||
|
||
framework: { | ||
name: '@storybook/react-webpack5', | ||
options: {}, | ||
}, | ||
|
||
docs: { | ||
autodocs: true, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.