-
Couldn't load subscription status.
- Fork 5.5k
Require project environment in SDK #14679
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
Changes from 15 commits
186822e
d34e259
647e18c
d91741b
c1781ed
40bab31
7753a5b
a904e53
5efcc32
45b4875
7abedce
8de3f44
16704ee
9d5e709
d0362d0
2070190
87fb597
5b86f27
041a594
a171866
96fc56b
044daed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| import globals from "globals"; | ||
| import pluginJs from "@eslint/js"; | ||
| import tseslint from "typescript-eslint"; | ||
|
|
||
| /** @type {import('eslint').Linter.Config[]} */ | ||
| export default [ | ||
| { | ||
| files: [ | ||
| "**/*.{js,mjs,cjs,ts}", | ||
| ], | ||
| }, | ||
| { | ||
| files: [ | ||
| "**/*.js", | ||
| ], | ||
| languageOptions: { | ||
| sourceType: "commonjs", | ||
| }, | ||
| }, | ||
| { | ||
| languageOptions: { | ||
| globals: globals.browser, | ||
| }, | ||
| }, | ||
| pluginJs.configs.recommended, | ||
| ...tseslint.configs.recommended, | ||
| ]; | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty configuration object detected.
The first configuration object specifies file patterns but doesn't include any actual configuration. This makes the object redundant.
Consider removing this empty configuration or adding necessary rules:
📝 Committable suggestion