UNPKG

eslint-config-ts-strict

Version:

Very strict ESLint config for projects using TypeScript, React and Prettier. ESLint v9 flat config only. Formatting rules disabled to prevent Prettier conflicts.

90 lines (72 loc) 3.75 kB
export default { rules: { // Stylistic rules that apply to TypeScript "lines-between-class-members": "off", // PRETTIER CONFLICT: All @stylistic rules are disabled to avoid conflicts with Prettier formatting "@stylistic/lines-between-class-members": "off", // Disabled to avoid conflicts with Prettier // Brace style - disabled to avoid conflicts with Prettier "brace-style": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/brace-style": "off", // Comma rules - disabled to avoid conflicts with Prettier "comma-dangle": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/comma-dangle": "off", "comma-spacing": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/comma-spacing": "off", // Function call spacing - disabled to avoid conflicts with Prettier "func-call-spacing": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/function-call-spacing": "off", // Indentation - disabled to avoid conflicts with Prettier "indent": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/indent": "off", // Keyword spacing - disabled to avoid conflicts with Prettier "keyword-spacing": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/keyword-spacing": "off", // Space rules - disabled to avoid conflicts with Prettier "space-before-blocks": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/space-before-blocks": "off", "space-before-function-paren": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/space-before-function-paren": "off", "space-infix-ops": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/space-infix-ops": "off", // Object spacing - disabled to avoid conflicts with Prettier "object-curly-spacing": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/object-curly-spacing": "off", // Block spacing - disabled to avoid conflicts with Prettier // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/block-spacing": "off", // Key spacing - disabled to avoid conflicts with Prettier // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/key-spacing": "off", // Comments - disabled to avoid conflicts with Prettier // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/lines-around-comment": "off", // Member delimiter style for interfaces and type literals - disabled to avoid conflicts with Prettier // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/member-delimiter-style": "off", // Extra semicolons - disabled to avoid conflicts with Prettier "no-extra-semi": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/no-extra-semi": "off", // Type annotation spacing - disabled to avoid conflicts with Prettier // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/type-annotation-spacing": "off", // Quotes - disabled to avoid conflicts with Prettier "quotes": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/quotes": "off", // Semicolons - disabled to avoid conflicts with Prettier "semi": "off", // PRETTIER CONFLICT: This rule conflicts with Prettier formatting "@stylistic/semi": "off", } }