Skip to content

Commit 3ef49b3

Browse files
Merge pull request #1667 from OneCommunityGlobal/taariq_fixing_angads_filter_branch_backend
Taariq: Fix filterColor persistence issue on change and refresh for Individual as well as bulk Selected filterColors Backend.
2 parents 1637e36 + e0cb217 commit 3ef49b3

96 files changed

Lines changed: 2492 additions & 1121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.babelrc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"presets": ["@babel/preset-env"],
3+
"plugins": [
4+
"@babel/plugin-transform-async-to-generator",
5+
[
6+
"@babel/plugin-transform-runtime",
7+
{
8+
"corejs": false,
9+
"helpers": true,
10+
"regenerator": true,
11+
"useESModules": false
12+
}
13+
],
14+
[
15+
"module-resolver",
16+
{
17+
"root": "./src"
18+
}
19+
]
20+
],
21+
"ignore": ["**/*.test.js", "**/*.spec.js", "src/test/**"]
22+
}

.eslintrc

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"extends": ["eslint:recommended", "airbnb-base", "prettier"],
3+
"parser": "@babel/eslint-parser",
4+
"parserOptions": {
5+
"ecmaVersion": 8,
6+
"sourceType": "module",
7+
"requireConfigFile": false,
8+
"babelOptions": {
9+
"plugins": [
10+
[
11+
"module-resolver",
12+
{
13+
"root": ["./src"]
14+
}
15+
]
16+
]
17+
}
18+
},
19+
"env": { "es6": true, "node": true, "commonjs": true },
20+
"rules": {
21+
"global-require": "off",
22+
"func-names": "off",
23+
"no-underscore-dangle": "off",
24+
"no-param-reassign": "off",
25+
"max-len": "off",
26+
"no-continue": "warn",
27+
"no-await-in-loop": "warn",
28+
"template-curly-spacing": "off",
29+
"indent": "off",
30+
"linebreak-style": 0,
31+
"no-console": "off",
32+
"consistent-return": "off"
33+
},
34+
"settings": {
35+
"import/resolver": {
36+
"babel-module": {
37+
"root": ["./src"]
38+
},
39+
"node": {
40+
"paths": ["src"],
41+
"extensions": [".js", ".jsx"]
42+
}
43+
}
44+
},
45+
"overrides": [
46+
{
47+
"files": ["**/*.test.js", "**/*.spec.js", "src/test/*.js"],
48+
"env": {
49+
"jest": true
50+
}
51+
}
52+
]
53+
}

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ jobs:
7878
uses: actions/upload-artifact@v4
7979
with:
8080
name: backend-coverage-report
81-
path: coverage/
81+
path: coverage/

babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
useESModules: false,
1111
},
1212
],
13+
['@babel/plugin-transform-logical-assignment-operators'], // <-- needed for ||= and ??=
1314
['module-resolver', { root: './src' }],
1415
],
1516
ignore: ['**/*.test.js', '**/*.spec.js', 'src/test/**'],

0 commit comments

Comments
 (0)