Skip to content

Commit

Permalink
feat: npm-deps (#10)
Browse files Browse the repository at this point in the history
- updated npm dependencies
- migrated to eslint v9 (`npx @eslint/migrate-config .eslintrc`)
  • Loading branch information
denchiklut authored Jul 27, 2024
1 parent dcfc4d7 commit 8635663
Show file tree
Hide file tree
Showing 5 changed files with 604 additions and 529 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

24 changes: 0 additions & 24 deletions .eslintrc

This file was deleted.

38 changes: 38 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import globals from 'globals'
import tsParser from '@typescript-eslint/parser'
import typescriptEslint from '@typescript-eslint/eslint-plugin'
import prettier from 'eslint-plugin-prettier'
import react from 'eslint-plugin-react'

export default [
{
ignores: ['**/dist', '**/node_modules']
},
{
files: ['*.ts', '*.tsx'],
plugins: {
'@typescript-eslint': typescriptEslint,
prettier,
react
},
languageOptions: {
globals: {
...globals.browser,
...globals.jest
},
parser: tsParser,
ecmaVersion: 'latest',
sourceType: 'module',
parserOptions: {
ecmaFeatures: {
jsx: true
}
}
},
settings: {
react: {
version: 'detect'
}
}
}
]
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "transitions-kit",
"version": "1.2.3",
"version": "1.2.4",
"repository": {
"type": "git",
"url": "git+https://github.com/denchiklut/transitions-kit"
Expand All @@ -19,7 +19,7 @@
"scripts": {
"build": "rm -rf dist && NODE_ENV=production && rollup -c --bundleConfigAsCjs",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"lint": "eslint --fix --quiet --ext .ts,.tsx ./"
"lint": "eslint --fix --quiet ./"
},
"dependencies": {
"react-transition-group": "^4.4.5"
Expand All @@ -29,22 +29,22 @@
"react-dom": ">=16.6.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/react": "^18.2.74",
"@types/react": "^18.3.3",
"@types/react-transition-group": "^4.4.10",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rollup": "^4.14.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^9.8.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3",
"rollup": "^4.19.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^5.4.3"
"typescript": "^5.5.4"
},
"keywords": [
"react-transition-group",
Expand Down
Loading

0 comments on commit 8635663

Please sign in to comment.