Skip to content

Commit

Permalink
feat: rewrite in typescript (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jogerj committed Sep 18, 2024
1 parent d5e9033 commit ddaeece
Show file tree
Hide file tree
Showing 22 changed files with 1,926 additions and 130 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* text=auto
*.js text
*.ts text
*.json text
*.*ignore text
*.md text
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
dist
*.log*
.cache
.output
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
10 changes: 0 additions & 10 deletions .prettierrc.json

This file was deleted.

13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// @ts-check

const eslint = require('@eslint/js');
const tseslint = require('typescript-eslint');
const eslintConfigPrettier = require('eslint-config-prettier');

/**
* @type {import('eslint').Linter.Config}
*/
module.exports = tseslint.config({
files: ['**/*.ts'],
extends: [eslint.configs.recommended, ...tseslint.configs.recommended, eslintConfigPrettier]
});
Loading

0 comments on commit ddaeece

Please sign in to comment.