mirror of
https://github.com/sbuffkin/hexmaker.git
synced 2026-07-22 14:30:24 +00:00
fix linter
This commit is contained in:
parent
473520d107
commit
c54fbc6f08
3 changed files with 24 additions and 17 deletions
|
|
@ -1,13 +1,20 @@
|
|||
import tsparser from "@typescript-eslint/parser";
|
||||
import { defineConfig } from "eslint/config";
|
||||
import obsidianmd from "eslint-plugin-obsidianmd";
|
||||
import globals from "globals";
|
||||
|
||||
export default defineConfig([
|
||||
{ ignores: ["**/tests/**", "node_modules/", "*.mjs", "main.js"] },
|
||||
|
||||
...obsidianmd.configs.recommended,
|
||||
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
|
||||
files: ["**/*.{js,ts}"],
|
||||
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
},
|
||||
parser: tsparser,
|
||||
parserOptions: { project: "./tsconfig.json" },
|
||||
},
|
||||
|
|
|
|||
BIN
lintresults.txt
BIN
lintresults.txt
Binary file not shown.
|
|
@ -1,18 +1,18 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"inlineSourceMap": true,
|
||||
"inlineSources": true,
|
||||
"module": "ESNext",
|
||||
"target": "ES2020",
|
||||
"allowJs": true,
|
||||
"noImplicitAny": true,
|
||||
"moduleResolution": "bundler",
|
||||
"importHelpers": true,
|
||||
"isolatedModules": true,
|
||||
"strictNullChecks": true,
|
||||
"strictPropertyInitialization": false,
|
||||
"lib": ["DOM", "ES2020"]
|
||||
},
|
||||
"include": ["**/*.ts"],
|
||||
"exclude": ["tests/**", "node_modules"]
|
||||
"compilerOptions": {
|
||||
"inlineSourceMap": true,
|
||||
"inlineSources": true,
|
||||
"module": "ESNext",
|
||||
"target": "ES2020",
|
||||
"allowJs": true,
|
||||
"noImplicitAny": true,
|
||||
"moduleResolution": "bundler",
|
||||
"importHelpers": true,
|
||||
"isolatedModules": true,
|
||||
"strictNullChecks": true,
|
||||
"strictPropertyInitialization": false,
|
||||
"lib": ["DOM", "ES2020"],
|
||||
},
|
||||
"include": ["**/*.ts", "eslint.config.js"],
|
||||
"exclude": ["tests/**", "node_modules", "*.mjs"],
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue