From 1b494cdc6f7b755431b71eed9189899650e1b6f0 Mon Sep 17 00:00:00 2001 From: Saleel Date: Fri, 19 Apr 2024 13:49:20 +0530 Subject: [PATCH] v6.0.2 - fix in helpers dist --- packages/circuits/package.json | 2 +- packages/contracts/package.json | 2 +- packages/helpers/.eslintrc.json | 32 ------------------------- packages/helpers/package.json | 42 +++++++++++++++++++++++++++++++-- 4 files changed, 42 insertions(+), 36 deletions(-) delete mode 100644 packages/helpers/.eslintrc.json diff --git a/packages/circuits/package.json b/packages/circuits/package.json index 13c933ca2..528d8846b 100644 --- a/packages/circuits/package.json +++ b/packages/circuits/package.json @@ -1,6 +1,6 @@ { "name": "@zk-email/circuits", - "version": "6.0.0", + "version": "6.0.2", "license": "MIT", "scripts": { "publish": "yarn npm publish --access=public", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 439431293..0cdabd5e2 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@zk-email/contracts", - "version": "6.0.0", + "version": "6.0.2", "license": "MIT", "scripts": { "build": "forge build", diff --git a/packages/helpers/.eslintrc.json b/packages/helpers/.eslintrc.json deleted file mode 100644 index e0c0c3509..000000000 --- a/packages/helpers/.eslintrc.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "env": { - "browser": true, - "es2021": true, - "node": true - }, - "extends": [ - "airbnb-base", - "airbnb-typescript/base" - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 12, - "sourceType": "module", - "project": "./tsconfig.json" - }, - "plugins": [ - "@typescript-eslint" - ], - "rules": { - "max-len": ["error", { "code": 150 }], - "import/prefer-default-export": "off", - "no-await-in-loop": "off", - "no-restricted-syntax": "off", - "no-plusplus": "off", - "no-bitwise": "off", - "no-console": "off", - "no-continue": "off", - "@typescript-eslint/no-use-before-define": "off", - "prefer-destructuring": "off" - } -} diff --git a/packages/helpers/package.json b/packages/helpers/package.json index 5e87eca8c..5ea858b95 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -1,12 +1,12 @@ { "name": "@zk-email/helpers", - "version": "6.0.0", + "version": "6.0.2", "license": "MIT", "main": "dist", "scripts": { "build": "tsc", "test": "jest tests/**/*.test.ts", - "lint": "eslint src/**/*.ts", + "lint": "eslint .", "prepublish": "yarn lint && yarn build", "publish": "yarn npm publish --access=public" }, @@ -69,5 +69,43 @@ "jest" ] ] + }, + "eslintConfig": { + "env": { + "browser": true, + "es2021": true, + "node": true + }, + "extends": [ + "airbnb-base", + "airbnb-typescript/base" + ], + "ignorePatterns": [ + "src/lib/**/*", + "tests/**/*", + "dist", + "node_modules" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 12, + "sourceType": "module", + "project": "./tsconfig.json" + }, + "plugins": [ + "@typescript-eslint" + ], + "rules": { + "max-len": ["error", { "code": 150 }], + "import/prefer-default-export": "off", + "no-await-in-loop": "off", + "no-restricted-syntax": "off", + "no-plusplus": "off", + "no-bitwise": "off", + "no-console": "off", + "no-continue": "off", + "@typescript-eslint/no-use-before-define": "off", + "prefer-destructuring": "off" + } } }