UNPKG

@sparticuz/eslint-config

Version:

Sparticuz's shareable config for eslint

28 lines (27 loc) 661 B
import js from "@eslint/js"; import globals from "globals"; import tseslint, {} from "typescript-eslint"; export default tseslint.config({ name: "@eslint/js/recommended", ...js.configs.recommended, }, { name: "@sparticuz/eslint-config/eslint.ts", languageOptions: { globals: { ...globals.node, }, parserOptions: { project: true, }, }, linterOptions: { reportUnusedDisableDirectives: "warn", }, rules: { "dot-notation": "off", "no-shadow": "off", "no-unused-vars": "off", "sort-imports": "off", "sort-keys": "off", }, });