Skip to content

Commit

Permalink
Implemented initial setup for feature: 'ft-setup'
Browse files Browse the repository at this point in the history
  • Loading branch information
mugabodannyshafi committed Jun 18, 2024
1 parent 50b4e0b commit 3e2d075
Show file tree
Hide file tree
Showing 18 changed files with 11,756 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
]
}
43 changes: 43 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'airbnb',
'airbnb/hooks',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:jsx-a11y/recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
],
plugins: ['@typescript-eslint', 'react', 'jsx-a11y', 'import'],
env: {
browser: true,
es2021: true,
},
settings: {
react: {
version: 'detect',
},
'import/resolver': {
typescript: {},
},
},
rules: {
'react/jsx-filename-extension': [
1,
{ extensions: ['.tsx', '.ts'] },
],
'import/extensions': [
'error',
'ignorePackages',
{
ts: 'never',
tsx: 'never',
},
],
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': ['error'],
},
};

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
.env
##
Loading

0 comments on commit 3e2d075

Please sign in to comment.