Skip to content

Commit

Permalink
feat: pipe implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
gearonix committed Feb 14, 2024
1 parent 6b5a839 commit 217d9b2
Show file tree
Hide file tree
Showing 7 changed files with 587 additions and 423 deletions.
34 changes: 22 additions & 12 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
module.exports = {
...require('@grnx-utils/eslint')({
enableImports: false,
ext: {
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-unused-vars': 'error'
},
ignore: ['*.yaml', 'LICENSE', '.gitignore', '*.md', 'preview', '*.json'],
root: __dirname
})
}
const { presets, configure } = require('eslint-kit')

module.exports = configure({
root: __dirname,
presets: [
presets.imports({}),
presets.typescript({ tsconfig: 'tsconfig.json', root: __dirname }),
presets.prettier({
singleQuote: true,
trailingComma: 'none',
endOfLine: 'auto',
semi: false
}),
presets.node({})
],
extend: {
ignorePatterns: ['*.yaml', '*.json', '.eslintrc.cjs', 'dist', '*.md'],
rules: {
'import/extensions': 'error'
}
}
})
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# zustand-middlewares
# zustand-middlewares

https://github.com/pmndrs/zustand/discussions/2330
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint **/*.ts",
"lint": "eslint",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
Expand All @@ -48,11 +48,10 @@
},
"devDependencies": {
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.7",
"@grnx-utils/eslint": "^3.0.2",
"@types/node": "^20.10.7",
"bumpp": "^9.2.1",
"eslint": "^8.56.0",
"eslint-kit": "^10.15.0",
"esno": "^4.0.0",
"lint-staged": "^15.2.0",
"pnpm": "^8.14.0",
Expand All @@ -71,6 +70,9 @@
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix **/*.ts"
"*": "eslint"
},
"dependencies": {
"ts-deepmerge": "^7.0.0"
}
}
Loading

0 comments on commit 217d9b2

Please sign in to comment.