forked from outsrc/monorepo
-
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.
- Loading branch information
0 parents
commit 73548eb
Showing
28 changed files
with
162,268 additions
and
0 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,4 @@ | ||
out/ | ||
.next/ | ||
node_modules/ | ||
next-env.d.ts |
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,31 @@ | ||
# Parse all files with TypeScript. | ||
extends: 'standard-with-typescript' | ||
parserOptions: | ||
project: './tsconfig.json' | ||
createDefaultProgram: true | ||
|
||
plugins: | ||
- prettier | ||
- react | ||
- jest | ||
- jest-dom | ||
- '@typescript-eslint' | ||
- react-hooks | ||
|
||
settings: | ||
react: | ||
version: detect | ||
|
||
env: | ||
browser: true | ||
|
||
rules: | ||
react-hooks/rules-of-hooks: error | ||
react-hooks/exhaustive-deps: error | ||
|
||
no-unused-vars: off | ||
'@typescript-eslint/no-unused-vars': | ||
- error | ||
- varsIgnorePattern: _ | ||
argsIgnorePattern: _ | ||
|
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,6 @@ | ||
node_modules | ||
.next | ||
out | ||
*.log | ||
coverage | ||
|
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,6 @@ | ||
.next/ | ||
node_modules/ | ||
out/ | ||
.yarn/ | ||
coverage/ | ||
|
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,9 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"semi": false, | ||
"jsxSingleQuote": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid" | ||
} | ||
|
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,29 @@ | ||
const path = require('path') | ||
|
||
module.exports = { | ||
stories: ['../**/*.stories.mdx', '../**/*.stories.@(js|jsx|ts|tsx)'], | ||
addons: ['@storybook/addon-links', '@storybook/addon-essentials'], | ||
webpackFinal: async (config, { configType }) => { | ||
// `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION' | ||
// You can change the configuration based on that. | ||
// 'PRODUCTION' is used when building the static version of storybook. | ||
|
||
// Make whatever fine-grained changes you need | ||
config.module.rules.push({ | ||
test: /\.scss$/, | ||
use: [ | ||
{ loader: 'style-loader' }, | ||
{ | ||
loader: 'css-loader', | ||
options: { modules: true } | ||
}, | ||
{ loader: 'sass-loader' } | ||
], | ||
include: path.resolve(__dirname, '../') | ||
}) | ||
|
||
// Return the altered config | ||
return config | ||
} | ||
} | ||
|
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,4 @@ | ||
module.exports.parameters = { | ||
actions: { argTypesRegex: '^on[A-Z].*' } | ||
} | ||
|
Oops, something went wrong.