a programming education platform www.hypercommit.com
education
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 32 lines 691 B view raw
1import js from "@eslint/js" 2import eslintConfigPrettier from "eslint-config-prettier" 3import onlyWarn from "eslint-plugin-only-warn" 4import turboPlugin from "eslint-plugin-turbo" 5import tseslint from "typescript-eslint" 6 7/** 8 * A shared ESLint configuration for the repository. 9 * 10 * @type {import("eslint").Linter.Config} 11 * */ 12export const config = [ 13 js.configs.recommended, 14 eslintConfigPrettier, 15 ...tseslint.configs.recommended, 16 { 17 plugins: { 18 turbo: turboPlugin, 19 }, 20 rules: { 21 "turbo/no-undeclared-env-vars": "warn", 22 }, 23 }, 24 { 25 plugins: { 26 onlyWarn, 27 }, 28 }, 29 { 30 ignores: ["dist/**", ".next/**", "**/.turbo/**", "**/coverage/**"], 31 }, 32]