Skip to content

Commit

Permalink
feat: modify eslint for prettify and create render.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjibansg committed Nov 25, 2023
1 parent d8a42c3 commit 29b319e
Show file tree
Hide file tree
Showing 10 changed files with 2,098 additions and 649 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'prettier', 'import'],
ignorePatterns: ['node_modules/', 'dist/', 'generated/'],
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': 'error',
'import/order': [
'error',
{
'groups': [['builtin', 'external'], ['internal', 'parent', 'sibling', 'index']],
'newlines-between': 'always',
},
],
},
};
12 changes: 0 additions & 12 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ node_modules/
node_modules/

*.tgz
*.svg
*~
Loading

0 comments on commit 29b319e

Please sign in to comment.