-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(api.js): simplify output JS files (#8025)
Co-authored-by: Lucas Nogueira <[email protected]>
- Loading branch information
1 parent
93c8a77
commit a0f7b88
Showing
23 changed files
with
833 additions
and
1,314 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
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
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ dist | |
/tooling/cli/node | ||
/tooling/cli/schema.json | ||
/core/tauri-config-schema/schema.json | ||
CHANGELOG.md |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"singleQuote": true, | ||
"semi": false, | ||
"trailingComma": "none" | ||
} |
This file was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"root": true, | ||
|
||
"env": { | ||
"node": true, | ||
"jest": true | ||
}, | ||
|
||
"parser": "@typescript-eslint/parser", | ||
|
||
"extends": [ | ||
"standard-with-typescript", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
// TODO: make this work with typescript | ||
// "plugin:node/recommended" | ||
"prettier" | ||
], | ||
|
||
"plugins": ["@typescript-eslint", "node", "security"], | ||
|
||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
|
||
"globals": { | ||
"__statics": true, | ||
"process": true | ||
}, | ||
|
||
// add your custom rules here | ||
"rules": { | ||
"no-console": "error", | ||
"no-debugger": "error", | ||
"no-process-exit": "off", | ||
"security/detect-non-literal-fs-filename": "warn", | ||
"security/detect-unsafe-regex": "error", | ||
"security/detect-buffer-noassert": "error", | ||
"security/detect-child-process": "warn", | ||
"security/detect-disable-mustache-escape": "error", | ||
"security/detect-eval-with-expression": "error", | ||
"security/detect-no-csrf-before-method-override": "error", | ||
"security/detect-non-literal-regexp": "error", | ||
"security/detect-non-literal-require": "warn", | ||
"security/detect-object-injection": "warn", | ||
"security/detect-possible-timing-attacks": "error", | ||
"security/detect-pseudoRandomBytes": "error", | ||
"space-before-function-paren": "off", | ||
"@typescript-eslint/default-param-last": "off", | ||
"@typescript-eslint/strict-boolean-expressions": 0, | ||
"no-return-await": "warn", | ||
"@typescript-eslint/return-await": "off" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.