Skip to content

Commit

Permalink
Merge pull request #478 from arifszn/migrate-to-typescript
Browse files Browse the repository at this point in the history
Migrate to TypeScript
  • Loading branch information
arifszn authored Jan 20, 2024
2 parents fdf75da + cac7ee3 commit f6750b9
Show file tree
Hide file tree
Showing 57 changed files with 4,878 additions and 3,102 deletions.
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Logs
logs
*.log
npm-debug.log*
Expand All @@ -12,7 +11,6 @@ dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
Expand Down
19 changes: 19 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
root: true,
env: { browser: true, es2020: true, node: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'plugin:prettier/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
};
29 changes: 0 additions & 29 deletions .eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions .npmignore

This file was deleted.

2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Logs
logs
*.log
npm-debug.log*
Expand All @@ -12,7 +11,6 @@ dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
Expand Down
Loading

0 comments on commit f6750b9

Please sign in to comment.