Skip to content

Commit d44e87d

Browse files
author
Daniel Beeke
committed
less config files
1 parent 62b69ad commit d44e87d

7 files changed

+6
-46
lines changed

.prettierignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

eslint.config.js

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,15 @@
11
import js from '@eslint/js'
22
import globals from 'globals'
3-
import reactHooks from 'eslint-plugin-react-hooks'
4-
import reactRefresh from 'eslint-plugin-react-refresh'
53
import tseslint from 'typescript-eslint'
64

75
export default tseslint.config(
86
{ ignores: ['dist'] },
97
{
108
extends: [js.configs.recommended, ...tseslint.configs.recommended],
11-
files: ['**/*.{ts,tsx}'],
9+
files: ['**/*.{ts}'],
1210
languageOptions: {
1311
ecmaVersion: 2020,
14-
globals: globals.browser,
15-
},
16-
plugins: {
17-
'react-hooks': reactHooks,
18-
'react-refresh': reactRefresh,
19-
},
20-
rules: {
21-
...reactHooks.configs.recommended.rules,
22-
'react-refresh/only-export-components': [
23-
'warn',
24-
{ allowConstantExport: true },
25-
],
26-
},
27-
},
12+
globals: globals.browser
13+
}
14+
}
2815
)

jsr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shapething/textstore",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"license": "MIT",
5-
"exports": "./lib/TextStore.ts"
5+
"exports": "./src/TextStore.ts"
66
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

tsconfig.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)