Skip to content

Commit

Permalink
feat: BKN-2991: add logfilter and init nammayatri version
Browse files Browse the repository at this point in the history
  • Loading branch information
spravinkumar9952 authored and Vignesh-772 committed Oct 18, 2024
1 parent 376de1f commit 4b2cef9
Show file tree
Hide file tree
Showing 18 changed files with 11,829 additions and 2,174 deletions.
33 changes: 33 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"env": { "browser": true, "es2015": true },
"extends": "eslint:recommended",
"parserOptions": { "ecmaVersion": 2015, "sourceType": "module" },
"rules": {
"block-scoped-var": "error",
"no-caller": "error",
"no-extra-parens": "off",
"no-extend-native": "error",
"no-loop-func": "error",
"no-new": "error",
"no-return-assign": "error",
"no-sequences": "error",
"no-shadow": "error",
"no-unused-expressions": "error",
"no-undef": "error",
"no-eq-null": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"quotes": ["error", "double"],
"strict": ["error", "global"],
"no-unused-vars": "off",
"no-empty": "off",
"radix": "off",
"no-param-reassign": "off",
"eqeqeq": "off",
"no-bitwise": "off",
"consistent-return": "off",
"guard-for-in": "off",
"no-mixed-spaces-and-tabs": "off",
"no-use-before-define": "off",
"no-dupe-keys": "off"
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
/.purs*
/.psa*
/Session.vim
.spago
9 changes: 9 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

BRANCH_NAME=$(git branch | grep '*' | sed 's/* //')

if [[ $BRANCH_NAME != *"no branch"* ]]
then
npx --no -- commitlint --edit "${1}"
fi
12 changes: 12 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Adding hooks to prepare commit message.
# This hook triggers Jira input modules.
# Helps in maintaining code compatblity.

BRANCH_NAME=$(git branch | grep '*' | sed 's/* //')

if [[ $BRANCH_NAME != *"no branch"* ]]
then
exec < /dev/tty && node_modules/.bin/git-cz --hook || true
fi
10 changes: 10 additions & 0 deletions .tidyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"importSort": "source",
"importWrap": "source",
"indent": 2,
"operatorsFile": null,
"ribbon": 1,
"typeArrowPlacement": "first",
"unicode": "never",
"width": null
}
15 changes: 5 additions & 10 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@
"output"
],
"dependencies": {
"purescript-prelude": "^4.1.1",
"purescript-presto": "git@bitbucket.org:juspay/purescript-presto.git#master",
"purescript-effect": "^2.0.1"
"purescript-prelude": "^6.0.0",
"purescript-presto": "git@github.com:juspay/purescript-presto.git",
"purescript-effect": "^4.0.0"
},
"devDependencies": {},
"resolutions": {
"purescript-record": "^2.0.0",
"purescript-foreign-object": "^2.0.0",
"purescript-typelevel-prelude": ">= 4.0.0 < 6.0.0"
}
}
"devDependencies": {}
}
Loading

0 comments on commit 4b2cef9

Please sign in to comment.