/** * Minified by jsDelivr using Terser v5.39.0. * Original file: /npm/@whatasoda/eslint-config@3.14.0/.eslintrc.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ const hasReact=(()=>{try{return require("react/package.json"),!0}catch(e){return!1}})(),ifReact=e=>hasReact?e:Array.isArray(e)?[]:{};module.exports={parser:"@typescript-eslint/parser",parserOptions:{sourceType:"module",ecmaFeatures:{...ifReact({jsx:!0})}},extends:["eslint:recommended","prettier",...ifReact(["prettier/react"]),"prettier/@typescript-eslint"],plugins:["prettier","@typescript-eslint",...ifReact(["react","react-hooks"])],settings:{...ifReact({react:{version:"detect"}})},rules:{"no-console":"error","no-redeclare":"off","no-unused-vars":"off","no-dupe-class-members":"off","no-undef":"off","prettier/prettier":["error",require("./.prettierrc.json"),{usePrettierrc:!1}],"@typescript-eslint/prefer-interface":"off","@typescript-eslint/no-unused-vars":["error",{args:"after-used",argsIgnorePattern:"^_"}],...ifReact({"react/jsx-uses-vars":1,"react/jsx-uses-react":1,"react-hooks/rules-of-hooks":"error","react-hooks/exhaustive-deps":"off"})}}; //# sourceMappingURL=/sm/299e6cd062f93995d067766e990fd4ed6e980739bebfb577fb7aed0f6fd18b7a.map