Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AshMartian committed Nov 24, 2023
1 parent 4cf0543 commit 8983c7c
Show file tree
Hide file tree
Showing 34 changed files with 7,722 additions and 1,387 deletions.
45 changes: 45 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
module.exports = {
env: {
browser: true,
es2021: true
},
extends: [
'plugin:react/recommended',
'eslint:recommended',
'standard-with-typescript'
],
overrides: [
{
files: ['*.ts', '*.tsx'], // Your TypeScript files extension

// As mentioned in the comments, you should extend TypeScript plugins here,
// instead of extending them outside the `overrides`.
// If you don't want to extend any rules, you don't need an `extends` attribute.
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking'
],

parserOptions: {
project: ['./tsconfig.json'] // Specify it only for TypeScript files
}
}
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true
}
},
plugins: [
'react'
],
rules: {
'no-use-before-define': 'off',
'max-len': ['error', { code: 120 }],
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/no-use-before-define': ['error'],
'react/jsx-indent': ['error', 2]
}
}
12 changes: 11 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@
<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>Voice</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1567322254717202" crossorigin="anonymous"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-S1CVX2FQX6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-S1CVX2FQX6');
</script>
</body>
</html>
Loading

0 comments on commit 8983c7c

Please sign in to comment.