feat: initial commit and template import

This commit is contained in:
Amadeu Jose Andrade Junior
2025-02-05 16:40:00 -03:00
commit 8123a94fcf
37 changed files with 12414 additions and 0 deletions

70
.eslintrc.cjs Normal file
View File

@@ -0,0 +1,70 @@
module.exports = {
extends: [
'airbnb',
'prettier',
'eslint:recommended',
'plugin:react/recommended',
'plugin:import/recommended',
'plugin:jsx-a11y/recommended',
'eslint-config-prettier',
],
plugins: ['react', 'react-hooks', 'prettier', 'jsx-a11y', 'import'],
settings: {
react: {
// Tells eslint-plugin-react to automatically detect the version of React to use.
version: 'detect',
},
// Tells eslint how to resolve imports
'import/resolver': {
node: {
paths: ['src'],
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
env: {
browser: true,
es2021: true,
jest: true,
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
rules: {
'import/extensions': 'off',
'import/no-unresolved': 'off',
'react/prop-types': 'off',
'prettier/prettier': 'error',
'jsx-a11y/anchor-is-valid': 'off',
'react-hooks/exhaustive-deps': 'off',
'react/react-in-jsx-scope': 'off',
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
'no-unused-expressions': [
'error',
{ allowShortCircuit: true, allowTernary: true },
],
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: true,
},
],
'linebreak-style': 'off',
'implicit-arrow-linebreak': 'off',
indent: 'off',
'object-curly-newline': 'off',
'operator-linebreak': 'off',
'no-confusing-arrow': 'off',
'function-paren-newline': 'off',
'no-mixed-operators': 'off',
'no-underscore-dangle': 'off',
'no-plusplus': 'off',
'no-param-reassign': 'off',
'no-unused-vars': 'off',
'react/react-in-jsx-scope': 'off',
},
};