Skip to content

Commit 03271a4

Browse files
committed
Removed Un-necessary Code
1 parent 43f07fd commit 03271a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+5336
-4686
lines changed

.eslintrc.cjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:react/recommended',
7+
'plugin:react/jsx-runtime',
8+
'plugin:react-hooks/recommended',
9+
'prettier'
10+
],
11+
ignorePatterns: ['dist', '.eslintrc.cjs'],
12+
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
13+
settings: { react: { version: '19.0' } },
14+
plugins: ['react-refresh'],
15+
rules: {
16+
'react-refresh/only-export-components': [
17+
'warn',
18+
{ allowConstantExport: true },
19+
],
20+
'react/prop-types': 'off',
21+
'no-unused-vars': ['error', {
22+
varsIgnorePattern: '^_',
23+
argsIgnorePattern: '^_',
24+
ignoreRestSiblings: true
25+
}],
26+
'no-console': ['warn', { allow: ['warn', 'error'] }]
27+
},
28+
}

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"trailingComma": "es5",
6+
"printWidth": 100,
7+
"jsxSingleQuote": false,
8+
"bracketSpacing": true,
9+
"arrowParens": "avoid",
10+
"endOfLine": "lf"
11+
}

0 commit comments

Comments
 (0)