Created
July 9, 2024 12:45
-
-
Save davidcostadev/545f27b916e9f2959fce40392b19c784 to your computer and use it in GitHub Desktop.
Project lint configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"printWidth": 120, | |
"singleQuote": true, | |
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"], | |
"importOrder": ["^@(/.*|$)", "^[./]"], | |
"importOrderParserPlugins": ["typescript", "jsx", "decorators"], | |
"importOrderSeparation": true, | |
"importOrderSortSpecifiers": true, | |
"tailwindFunctions": ["clsx"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
/* Target and Module */ | |
"target": "es5", | |
"module": "esnext", | |
"lib": ["dom", "dom.iterable", "esnext"], | |
"moduleResolution": "bundler", | |
"jsx": "preserve", | |
/* JavaScript Support */ | |
"allowJs": true, | |
"resolveJsonModule": true, | |
"downlevelIteration": true, | |
/* Build Options */ | |
"noEmit": true, | |
"incremental": true, | |
/* Linting */ | |
"strict": true, | |
"noUnusedLocals": false, | |
"noUnusedParameters": false, | |
"noFallthroughCasesInSwitch": true, | |
"noImplicitOverride": true, | |
"noImplicitReturns": true, | |
"noPropertyAccessFromIndexSignature": false, | |
"noUncheckedIndexedAccess": false, | |
"strictNullChecks": true, | |
/* Paths and Alias */ | |
"baseUrl": "./src", | |
"paths": { | |
"@/*": ["./src/*"] | |
}, | |
/* Plugins */ | |
"types": ["@testing-library/jest-dom"], | |
"plugins": [ | |
{ | |
"name": "next" | |
} | |
] | |
}, | |
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], | |
"exclude": ["node_modules"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment