ECMAScript/Monorepo Static-Linters & Formatters

    AuthorTrevor McDougald
    PublishedAugust 22, 2024
    UpdatedFebruary 7, 2025
    Views
    Comments
    Likes
    ECMAScript/Monorepo Static-Linters & Formatters

    Linting Notes

    Learnings and notes moved to saas.recipes

    This page is outdated

    Why this move?

    I am consolidating notes on saas.recipes so new writeups, AI- generated learnings, and RAG/Bedrock knowledge-base insights are integrated in one place. This copy remains available for reference, but it may not match the latest version.

    Good Eslint References

    • NextJS Non-MonoRepo, ESLINT 9, Unicorn

    Biome

    Broken Config, add back to nursery section later

                  {"useSortedClasses": {
    					"fix": "safe",
    					"level": "error",
    					"options": {
    						"attributes": ["className"],
    						"functions": ["clsx", "cva", "tw", "twMerge", "cn", "twJoin"]
    					}
    				},
    				"useComponentExportOnlyModules": {
    					"level": "warn",
    					"options": {
    						"allowExportNames": [
    							"json",
    							"loader",
    							"headers",
    							"meta",
    							"links",
    							"scripts"
    						],
    						"allowConstantExport": true
    					}
    				}}

    Table of Contents

    Edit this page on GitHub
    Last Updated: Feb 7, 2025
    Comments:
    Replies: