Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Rowan-Paul/vodcreator. vodcreator.rowanpaulflynn.com
Something went wrong. Try again.
vodcreator eslint.config.js
1.1 kB · 44 lines
JavaScript
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445import nextVitals from "eslint-config-next/core-web-vitals";import tseslint from "typescript-eslint";
export default tseslint.config( { ignores: [".next/**"], }, ...nextVitals, { files: ["**/*.ts", "**/*.tsx"], extends: [ ...tseslint.configs.recommended, ...tseslint.configs.recommendedTypeChecked, ...tseslint.configs.stylisticTypeChecked, ], rules: { "@typescript-eslint/array-type": "off", "@typescript-eslint/consistent-type-definitions": "off", "@typescript-eslint/consistent-type-imports": [ "warn", { prefer: "type-imports", fixStyle: "inline-type-imports" }, ], "@typescript-eslint/no-unused-vars": [ "warn", { argsIgnorePattern: "^_" }, ], "@typescript-eslint/require-await": "off", "@typescript-eslint/no-misused-promises": [ "error", { checksVoidReturn: { attributes: false } }, ], }, }, { linterOptions: { reportUnusedDisableDirectives: true, }, languageOptions: { parserOptions: { projectService: true, }, }, },);