Skip to content

Commit

Permalink
Merge pull request #10 from axe-api/examples
Browse files Browse the repository at this point in the history
Examples
  • Loading branch information
ozziest authored Dec 23, 2023
2 parents 44ed105 + 76ad3a1 commit 1e498cf
Show file tree
Hide file tree
Showing 9 changed files with 744 additions and 63 deletions.
19 changes: 10 additions & 9 deletions examples/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
'react-refresh/only-export-components': [
'warn',
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
"@typescript-eslint/no-explicit-any": "off",
},
}
};
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>robust-validator Playground</title>
</head>
<body>
<div id="root"></div>
Expand Down
Loading

0 comments on commit 1e498cf

Please sign in to comment.