Simple setup with needed by me (possibly in the future for all popular tools) plugins/tools. Everything in one file, just copy paste to your project.
Flat eslint setup plugins that can be turned on and off. If you need only eslint config -> here
This project only contains example configuration files - it is not a project for coding.
- ESLint: For linting JavaScript and TypeScript.
- Prettier: For code formatting.
- Husky: To run Git hooks.
- lint-staged: To lint files before committing.
- Stylelint: For linting CSS/SCSS.
- CSpell: Spell Checker for Code.
- Commitlint: To enforce conventional commit messages.
- NPM check updates: For updating your package.json dependencies to the latest versions.
- HTTP Status Codes: Constants enumerating the HTTP status codes.
And a few others, but I haven't set them up or documented them here yet, even though they're listed in package.json.
"svelte-check": "^4.1.0", "vitest": "^2.0.4", "@types/d3-graphviz": "^2.6.10", "drizzle-kit": "^0.22.0", "@faker-js/faker": "^9.3.0", "drizzle-orm": "^0.31.2",
npm install --save-dev eslint typescript prettier husky lint-staged cspell commitlint @commitlint/cli @commitlint/config-conventional commitlint-plugin-function-rules npm-check-updates stylelint stylelint-config-standard http-status-codes
Eslint plugins <- (If you want list of all plugins, go here)
npm install --save-dev @eslint/js typescript-eslint typescript svelte-eslint-parser eslint-plugin-svelte prettier-plugin-svelte @html-eslint/parser @html-eslint/eslint-plugin eslint-plugin-tailwindcss @pandacss/eslint-plugin eslint-plugin-drizzle @vitest/eslint-plugin eslint-plugin-perfectionist eslint-plugin-unicorn @stylistic/eslint-plugin eslint-plugin-functional eslint-config-prettier prettier-plugin-organize-imports eslint-plugin-security eslint-plugin-sonarjs eslint-plugin-tsdoc eslint-plugin-promise @cspell/eslint-plugin eslint-plugin-import eslint-plugin-import-alias eslint-plugin-eslint-plugin
Made by Marlena Makosza