{"id":20947202,"url":"https://github.com/landraudio/linting-and-formatting","last_synced_at":"2025-05-14T01:32:02.170Z","repository":{"id":34302197,"uuid":"175247777","full_name":"LandrAudio/linting-and-formatting","owner":"LandrAudio","description":"Configuration files for Eslint, Prettier and Stylelint for LANDR projects","archived":false,"fork":false,"pushed_at":"2024-01-25T17:05:53.000Z","size":1115,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-05-13T20:44:36.973Z","etag":null,"topics":["configs","eslint","frontend","prettier","stylelint"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LandrAudio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-12T15:54:20.000Z","updated_at":"2024-06-19T16:22:29.063Z","dependencies_parsed_at":"2024-06-19T16:22:10.106Z","dependency_job_id":"a1da6a24-40f1-49ce-bafe-28aa16b88897","html_url":"https://github.com/LandrAudio/linting-and-formatting","commit_stats":null,"previous_names":["mixgenius/linting-and-formatting"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandrAudio%2Flinting-and-formatting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandrAudio%2Flinting-and-formatting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandrAudio%2Flinting-and-formatting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandrAudio%2Flinting-and-formatting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LandrAudio","download_url":"https://codeload.github.com/LandrAudio/linting-and-formatting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225270659,"owners_count":17447635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configs","eslint","frontend","prettier","stylelint"],"created_at":"2024-11-19T00:09:54.570Z","updated_at":"2024-11-19T00:09:55.275Z","avatar_url":"https://github.com/LandrAudio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linting \u0026 Formatting\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\nMonorepo to hold all shareable linting and formatting configurations.\n\n[eslint-config-landr](./packages/eslint-config-landr) - ESLint configuration for linting JavaScript and TypeScript code\n\n[prettier-config-landr](./packages/prettier-config-landr) - Prettier configuration for formatting all code\n\n[stylelint-config-landr](./packages/stylelint-config-landr) - Stylelint configuration for linting CSS and Sass code\n\n\n## Editor Setup\n\nWhen using both ESLint and Prettier in a project, it's nice to have files automatically have ESLint errors fixed on save as well as have non JavaScript/TypeScript files formatted on save. This section explains how to set that up in an editor.\n\n### VS Code\n\nThe easiest and recommended way of integrating with linters is to let Prettier do the formatting and configure the linter to not deal with formatting rules. You can find instructions on how to configure each linter on the Prettier docs site. You can then use each of the linting extensions as you normally would.\n\n- ESLint: [Extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n- Stylelint: [Extension](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)\n\nYou can enable Auto-Fix on Save for ESLint or Stylelint and still have formatting and quick fixes:\n\n```\n\"editor.codeActionsOnSave\": {\n    // For ESLint\n    \"source.fixAll.eslint\": true,\n    // For Stylelint\n    \"source.fixAll.stylelint\": true\n}\n```\n\n## Releasing\n\nWe use [Auto](https://intuit.github.io/auto/) and [Lerna](https://lerna.js.org/) to automatically bump our packages versions based on the [Conventional Commits](https://www.conventionalcommits.org/) convention. \n\n- A commit starting with `fix:` will do a `PATCH` release\n- A commit starting with `feat:` will do a `MINOR` release\n- A commit starting with `BREAKING CHANGE:` will do a `MAJOR` release\n\n\n### Semantic version increment rules\n\n#### Patch releases (1.0.X):\n\n- Bump dependencies to patch or minor releases\n- Fixes not impacting the configs or adding new rules\n\n#### Minor releases (1.X):\n\n- Adding exceptions to rules (ex: disable a default rule)\n- Changing linting rules (ex: `{ printWidth: 80 }` -\u003e `{ printWidth: 120 }`)\n\n#### Major releases(X):\n\n- Breaking changes in repo\n- Bump dependencies to major releases\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://benoitdeziel.com\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/537043?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eBenoit Deziel\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#maintenance-benoitdeziel\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=benoitdeziel\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#infra-benoitdeziel\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=benoitdeziel\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/hjack-landr\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/57115379?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ehjack-landr\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#maintenance-hjack-landr\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"#infra-hjack-landr\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=hjack-landr\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/davidmartinezmarin\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/954888?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDavid Martinez\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#maintenance-davidmartinezmarin\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=davidmartinezmarin\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/RPDeshaies\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/6224111?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003erpdeshaies\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=RPDeshaies\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#infra-RPDeshaies\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=RPDeshaies\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/MPeloquin\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/755469?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMaxime Péloquin\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=MPeloquin\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#infra-MPeloquin\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ardeois\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1867939?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eCorentin Ardeois\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=ardeois\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=ardeois\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/vbeausoleil\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/10699482?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003evbeausoleil\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-vbeausoleil\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/LandrAudio/linting-and-formatting/commits?author=vbeausoleil\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Ronan-Landr\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/146753775?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRonan\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-Ronan-Landr\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandraudio%2Flinting-and-formatting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flandraudio%2Flinting-and-formatting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandraudio%2Flinting-and-formatting/lists"}