-
Notifications
You must be signed in to change notification settings - Fork 7
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 #101 from chanzuckerberg/ah-updates
Updates
- Loading branch information
Showing
11 changed files
with
3,589 additions
and
5,653 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
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,5 +1,3 @@ | ||
import React from 'react'; | ||
|
||
export default { | ||
title: 'advanced', | ||
component: 'button', | ||
|
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,5 +1,3 @@ | ||
import React from 'react'; | ||
|
||
export default { | ||
component: 'button', | ||
}; | ||
|
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,5 +1,3 @@ | ||
import React from 'react'; | ||
|
||
export default { | ||
title: 'simple', | ||
component: 'button', | ||
|
This file was deleted.
Oops, something went wrong.
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,46 @@ | ||
import js from '@eslint/js'; | ||
import vitest from '@vitest/eslint-plugin'; | ||
import prettierRecommended from 'eslint-plugin-prettier/recommended'; | ||
import react from 'eslint-plugin-react'; | ||
import globals from 'globals'; | ||
import typescriptEslint from 'typescript-eslint'; | ||
|
||
/** @type {import("eslint").Linter.Config[]} */ | ||
export default [ | ||
{ | ||
ignores: ['**/storybook-static/', '**/build/'], | ||
}, | ||
js.configs.recommended, | ||
...typescriptEslint.configs.recommended, | ||
prettierRecommended, | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
}, | ||
}, | ||
rules: { | ||
'no-prototype-builtins': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.js'], | ||
rules: { | ||
'@typescript-eslint/no-require-imports': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.test.*'], | ||
...vitest.configs.recommended, | ||
}, | ||
{ | ||
files: ['demo/**/*.{js,jsx,ts,tsx}'], | ||
...react.configs.flat.recommended, | ||
...react.configs.flat['jsx-runtime'], | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.