-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend Prettier configs &Unify Json formatting
* Set tab width on json files to 2, because some of json files have tab width of 2 and the rest is having tab width of 4 * Apply prettier formatting to all json files in the repo
- Loading branch information
1 parent
642540a
commit f67c9e2
Showing
32 changed files
with
917 additions
and
1,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
application/apps/indexer/merging/test_samples/appending_to_empty_file/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
] |
24 changes: 12 additions & 12 deletions
24
application/apps/indexer/merging/test_samples/appending_to_existing_file/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
] |
24 changes: 12 additions & 12 deletions
24
application/apps/indexer/merging/test_samples/indexer_log_files/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "YYYY-MM-DDThh:mm:ss.s TZD", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"tag": "B-TAG", | ||
"format": "YYYY-MM-DDThh:mm:ss.s TZD" | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "YYYY-MM-DDThh:mm:ss.s TZD", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"tag": "B-TAG", | ||
"format": "YYYY-MM-DDThh:mm:ss.s TZD" | ||
} | ||
] |
24 changes: 12 additions & 12 deletions
24
application/apps/indexer/merging/test_samples/missing_timestamp_lines/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
] |
24 changes: 12 additions & 12 deletions
24
application/apps/indexer/merging/test_samples/not_standard_format/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "YYYY-MM-DD_hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "YYYY-MM-DD_hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "YYYY-MM-DD_hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "YYYY-MM-DD_hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
] |
24 changes: 12 additions & 12 deletions
24
application/apps/indexer/merging/test_samples/simple_both_regex_2/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "B-TAG" | ||
} | ||
] |
26 changes: 13 additions & 13 deletions
26
application/apps/indexer/merging/test_samples/simple_regex_1_regex_2/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"tag": "B-TAG", | ||
"format": "MM-DD hh:mm:ss.s TZD", | ||
"year": 2019 | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD-YYYY hh:mm:ss.s", | ||
"tag": "A-TAG" | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"tag": "B-TAG", | ||
"format": "MM-DD hh:mm:ss.s TZD", | ||
"year": 2019 | ||
} | ||
] |
28 changes: 14 additions & 14 deletions
28
application/apps/indexer/merging/test_samples/two_adb_files/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[ | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD hh:mm:ss.s TZD", | ||
"tag": "A-TAG", | ||
"year": 2019 | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"tag": "B-TAG", | ||
"format": "MM-DD hh:mm:ss.s TZD", | ||
"year": 2019 | ||
} | ||
{ | ||
"path": "a.log", | ||
"offset": 0, | ||
"format": "MM-DD hh:mm:ss.s TZD", | ||
"tag": "A-TAG", | ||
"year": 2019 | ||
}, | ||
{ | ||
"path": "b.log", | ||
"offset": 0, | ||
"tag": "B-TAG", | ||
"format": "MM-DD hh:mm:ss.s TZD", | ||
"year": 2019 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"ignorePatterns": ["dist/**", "spec/**"], | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"ignorePatterns":["dist/**", "spec/**"], | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }], | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-inferrable-types": "off", | ||
"@typescript-eslint/no-this-alias": "off" | ||
} | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-inferrable-types": "off", | ||
"@typescript-eslint/no-this-alias": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jasmine Current File", | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", | ||
"program": "${workspaceFolder}/node_modules/.bin/jasmine", | ||
"args": ["${file}"], | ||
"console": "integratedTerminal", | ||
"internalConsoleOptions": "neverOpen" | ||
} | ||
] | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jasmine Current File", | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", | ||
"program": "${workspaceFolder}/node_modules/.bin/jasmine", | ||
"args": ["${file}"], | ||
"console": "integratedTerminal", | ||
"internalConsoleOptions": "neverOpen" | ||
} | ||
] | ||
} |
Oops, something went wrong.