Merge pull request 'dev' (#8) from dev into main
All checks were successful
Publish to npm / publish (push) Successful in 25s

Reviewed-on: #8
This commit is contained in:
Astrian 2025-02-22 23:10:44 +00:00
commit 1742ca4cd3
3 changed files with 3 additions and 34 deletions

View File

@ -1,28 +0,0 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
)

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "datenel-react",
"version": "0.1.2",
"version": "0.1.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "datenel-react",
"version": "0.1.2",
"version": "0.1.3",
"devDependencies": {
"@eslint/js": "^9.19.0",
"@types/node": "^22.13.4",

View File

@ -1,6 +1,6 @@
{
"name": "datenel-react",
"version": "0.1.2",
"version": "0.1.3",
"scripts": {
"dev": "vite",
"build": "vite build",
@ -14,9 +14,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^1.3.2",
"eslint": "^9.19.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.18",
"globals": "^15.14.0",
"sass-embedded": "^1.85.0",
"typescript": "~5.7.2",