Skip to content

Commit 76356dd

Browse files
author
Yakshit chhipa
committed
feat: linted files
1 parent 0fc4a8b commit 76356dd

File tree

16 files changed

+3661
-925
lines changed

16 files changed

+3661
-925
lines changed

.eslintrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
},
6+
"extends": "eslint:recommended",
7+
"parserOptions": {
8+
"ecmaVersion": "latest",
9+
"sourceType": "module",
10+
},
11+
"rules": {
12+
"indent":["error", "tab"],
13+
"no-console": "error"
14+
}
15+
}

api/v1/cache/newget.js

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
2-
export const cache = {
3-
"Key": {
4-
"query": {
5-
"q": "\"hi, lovely day !\""
6-
},
7-
"params": {}
1+
export const cache = {
2+
Key: {
3+
query: {
4+
q: '"hi, lovely day !"',
85
},
9-
"Value": "{\"Data\":{\"author\":\"1\",\"content\":\"The sentence \\\"hi, lovely day !\\\" has a positive sentiment. The word \\\"lovely\\\" is a positive adjective, and the exclamation point indicates excitement or happiness.\"},\"Query\":\"\\\"hi, lovely day !\\\"\"}"
10-
}
11-
6+
params: {},
7+
},
8+
Value: '{"Data":{"author":"1","content":"The sentence \\"hi, lovely day !\\" has a positive sentiment. The word \\"lovely\\" is a positive adjective, and the exclamation point indicates excitement or happiness."},"Query":"\\"hi, lovely day !\\""}',
9+
};

api/v1/cache/subs@rn@_idsget.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
2-
export const cache = {
3-
"Key": {
4-
"query": {
5-
"uid": "9"
6-
},
7-
"params": {
8-
"ids": "345dfgh"
9-
}
1+
export const cache = {
2+
Key: {
3+
query: {
4+
uid: '9',
105
},
11-
"Value": "{\"Mes\":\"Dynamic nested route test with swc.\",\"Status\":\"ok\",\"Code\":200,\"Query\":{\"uid\":\"9\"},\"Params\":{\"ids\":\"345dfgh\"}}"
12-
}
13-
6+
params: {
7+
ids: '345dfgh',
8+
},
9+
},
10+
Value: '{"Mes":"Dynamic nested route test with swc.","Status":"ok","Code":200,"Query":{"uid":"9"},"Params":{"ids":"345dfgh"}}',
11+
};

blazze/newget.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blazze/subs@rn@_idsget.js

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blazze/testpatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default function(req,res){var data;try{data="1234567"}catch(error){data=error}res.json({mes:"THIS IS A PATCH REQUEST HANDLER !@",data:data})}
1+
export default function (req, res) { let data; try { data = '1234567'; } catch (error) { data = error; }res.json({ mes: 'THIS IS A PATCH REQUEST HANDLER !@', data }); }

blazze/ty@_pplget.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blazze/userdelete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default function(req,res){res.json("THIS IS A DELETE REQUEST HANDLER !!")}
1+
export default function (req, res) { res.json('THIS IS A DELETE REQUEST HANDLER !!'); }

0 commit comments

Comments
 (0)