Created
June 28, 2024 00:29
-
-
Save KeithBrown39423/29615192b35b16e8023ad559979a25fa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import globals from "globals"; | |
| import pluginJs from "@eslint/js"; | |
| import tseslint from "typescript-eslint"; | |
| export default [ | |
| { files: ["**/*.{js,mjs,cjs,ts}"] }, | |
| { languageOptions: { globals: globals.node } }, | |
| pluginJs.configs.recommended, | |
| ...tseslint.configs.recommended, | |
| { | |
| rules: { | |
| indent: [ | |
| "error", | |
| 4 | |
| ], | |
| "linebreak-style": [ | |
| "error", | |
| "unix" | |
| ], | |
| quotes: [ | |
| "error", | |
| "double" | |
| ], | |
| semi: [ | |
| "error", | |
| "always" | |
| ] | |
| } | |
| } | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment