mirror of
https://github.com/jamescliffordspratt/macros.git
synced 2026-07-22 05:46:53 +00:00
Add ESLint flat config and toolchain deps
This commit is contained in:
parent
ad0587fe98
commit
4dd0b2007f
3 changed files with 3465 additions and 282 deletions
8
eslint.config.mjs
Normal file
8
eslint.config.mjs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// eslint.config.mjs
|
||||
import tsparser from "@typescript-eslint/parser";
|
||||
import obsidianmd from "eslint-plugin-obsidianmd";
|
||||
export default [
|
||||
...obsidianmd.configs.recommended,
|
||||
{ files: ["**/*.ts"],
|
||||
languageOptions: { parser: tsparser, parserOptions: { project: "./tsconfig.json" } } },
|
||||
];
|
||||
3736
package-lock.json
generated
3736
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -28,8 +28,9 @@
|
|||
"@typescript-eslint/parser": "^5.29.0",
|
||||
"builtin-modules": "3.3.0",
|
||||
"esbuild": "^0.28.1",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
"eslint-plugin-obsidianmd": "^0.3.0",
|
||||
"eslint-plugin-prettier": "^5.2.6",
|
||||
"eslint-plugin-unused-imports": "^4.1.4",
|
||||
"jest": "^29.7.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue