Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JS dependencies, adjust eslint config #17904

Merged
merged 1 commit into from
Dec 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ignorePatterns:

parserOptions:
sourceType: module
ecmaVersion: 2021
ecmaVersion: latest

plugins:
- eslint-plugin-unicorn
Expand Down Expand Up @@ -109,7 +109,7 @@ rules:
github/no-implicit-buggy-globals: [0]
github/no-inner-html: [0]
github/no-innerText: [2]
github/no-then: [2]
github/no-then: [0]
github/no-useless-passive: [2]
github/prefer-observers: [0]
github/require-passive-events: [2]
Expand Down Expand Up @@ -384,6 +384,7 @@ rules:
unicorn/no-array-instanceof: [0]
unicorn/no-array-method-this-argument: [2]
unicorn/no-array-push-push: [2]
unicorn/no-await-expression-member: [0]
unicorn/no-console-spaces: [0]
unicorn/no-document-cookie: [2]
unicorn/no-empty-file: [2]
Expand Down Expand Up @@ -419,6 +420,7 @@ rules:
unicorn/prefer-array-index-of: [2]
unicorn/prefer-array-some: [2]
unicorn/prefer-at: [0]
unicorn/prefer-code-point: [2]
unicorn/prefer-dataset: [2]
unicorn/prefer-date-now: [2]
unicorn/prefer-default-parameters: [0]
Expand Down
2 changes: 1 addition & 1 deletion build/generate-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ async function main() {
]);
}

main().then(exit).catch(exit); // eslint-disable-line github/no-then
main().then(exit).catch(exit);

2 changes: 1 addition & 1 deletion build/generate-svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ async function main() {
]);
}

main().then(exit).catch(exit); // eslint-disable-line github/no-then
main().then(exit).catch(exit);

Loading