@sparticuz/eslint-config
Version:
Sparticuz's shareable config for eslint
27 lines (26 loc) • 628 B
JavaScript
import js from "@eslint/js";
import globals from "globals";
export default [
{
name: "@eslint/js/recommended",
...js.configs.recommended,
},
{
name: "@sparticuz/eslint-config/eslint.ts",
languageOptions: {
globals: {
...globals.node,
},
},
linterOptions: {
reportUnusedDisableDirectives: "warn",
},
rules: {
"dot-notation": "off",
"no-shadow": "off",
"no-unused-vars": "off",
"sort-imports": "off",
"sort-keys": "off",
},
},
];