Skip to content

Commit

Permalink
TASK: Modernize build and TS code
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebobo committed Jan 23, 2023
1 parent eab6076 commit cd2ecff
Show file tree
Hide file tree
Showing 24 changed files with 149,768 additions and 4,924 deletions.
2 changes: 0 additions & 2 deletions .babelrc

This file was deleted.

37 changes: 0 additions & 37 deletions .eslintrc

This file was deleted.

31 changes: 31 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:prettier/recommended',
],
plugins: ['prettier', 'react', 'react-hooks'],
settings: {
react: {
version: 'detect',
},
},
env: {
browser: true,
node: true,
},
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'react/prop-types': 'off',
'prettier/prettier': ['error'],
'react-hooks/rules-of-hooks': 'error',
},
};
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.sass-cache
node_modules/
/.cache
/.parcel-cache
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
Loading

0 comments on commit cd2ecff

Please sign in to comment.