From e4291bbbcf2f96c69c9c7b2d9495c03583a6ca0b Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 15 Jul 2021 11:55:23 -0500 Subject: [PATCH] chore: update eslint, gitignore, prettierignore configs --- .eslintignore | 5 ++++- .eslintrc.js | 1 + .gitignore | 9 ++++++++- .prettierignore | 4 +--- terser.config.json | 8 -------- 5 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 terser.config.json diff --git a/.eslintignore b/.eslintignore index 58991b37231..cbf2a6a0b03 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,6 +1,7 @@ .history .vscode dist +dist-dev bazel-* node_modules tsc-out @@ -10,4 +11,6 @@ external etc temp tsdoc-metadata.json -**/.DS_Store \ No newline at end of file +**/.DS_Store +*.mp4 +scripts/**/* \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index 654570e3eb1..a26d70d3745 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -25,5 +25,6 @@ module.exports = { 'no-case-declarations': 'off', 'no-console': ['error'], 'no-only-tests/no-only-tests': 'error', + '@typescript-eslint/no-unused-vars': ['error', { varsIgnorePattern: '^(h|Fragment)$' }], }, }; diff --git a/.gitignore b/.gitignore index 58991b37231..1356fe049b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .history .vscode dist +dist-dev bazel-* node_modules tsc-out @@ -10,4 +11,10 @@ external etc temp tsdoc-metadata.json -**/.DS_Store \ No newline at end of file +**/.DS_Store +integration/out/ +integration/**/*.js +integration/**/*.cjs +integration/**/*.map +cypress/screenshots +cypress/videos \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index d2f6cea3203..05983d4fadf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,10 +1,8 @@ -**/*.gold.md -**/*.gold.md +**/api.md **/*.log **/.DS_Store *. .history -.vscode bazel-* bazel-bin bazel-out diff --git a/terser.config.json b/terser.config.json deleted file mode 100644 index 806c6564503..00000000000 --- a/terser.config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compress": { - "arrows": "bazel_no_debug" - }, - "format": { - "comments": false - } -}