UNPKG

@bastion/tesseract

Version:

The heart and soul of the Bastion bot.

26 lines (24 loc) 677 B
import eslint from "@eslint/js"; import tseslint from "typescript-eslint"; export default tseslint.config({ extends: [ eslint.configs.recommended, ...tseslint.configs.recommended, ], languageOptions: { parser: tseslint.parser, parserOptions: { projectService: true, tsconfigRootDir: import.meta.dirname, }, sourceType: "module", }, files: [ "src/**/*.ts" ], rules: { indent: [ "warn", 4 ], "linebreak-style": [ "warn", "unix" ], quotes: [ "warn", "double" ], semi: [ "warn", "always" ], "@typescript-eslint/no-namespace": "off", }, });