-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
3,272 additions
and
4,100 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import standard from "eslint-config-standard"; | ||
import pluginN from "eslint-plugin-n"; | ||
import pluginPromise from "eslint-plugin-promise"; | ||
import pluginImport from "eslint-plugin-import"; | ||
|
||
export default [{ | ||
files: ["**/*.js"], | ||
ignores: ["**/build", "**/dist", "**/node_modules", "**/*.ts"], | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.jquery | ||
} | ||
} | ||
}, | ||
pluginJs.configs.recommended, | ||
{ | ||
plugins: { | ||
n: pluginN, | ||
import: pluginImport, | ||
promise: pluginPromise | ||
}, | ||
rules: standard.rules | ||
}, | ||
{ | ||
rules: { | ||
semi: ["error", "always"], | ||
quotes: ["error", "double"], | ||
"quote-props": ["off"], | ||
camelcase: ["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
Oops, something went wrong.