{"id":16184845,"url":"https://github.com/stormwarning/zazen-eslint-config","last_synced_at":"2025-03-19T02:31:50.832Z","repository":{"id":29434808,"uuid":"121548387","full_name":"stormwarning/zazen-eslint-config","owner":"stormwarning","description":"⛩ Lint JavaScript, free of weariness and confusion","archived":false,"fork":false,"pushed_at":"2024-10-03T19:01:21.000Z","size":908,"stargazers_count":2,"open_issues_count":14,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-11T07:12:31.003Z","etag":null,"topics":["code-style","eslint-config","xo"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stormwarning.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-14T18:53:41.000Z","updated_at":"2023-01-07T20:18:08.000Z","dependencies_parsed_at":"2023-02-16T18:46:27.712Z","dependency_job_id":"fc84f0fa-ecc7-4d92-ab7d-98dad4298b93","html_url":"https://github.com/stormwarning/zazen-eslint-config","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fzazen-eslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fzazen-eslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fzazen-eslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fzazen-eslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stormwarning","download_url":"https://codeload.github.com/stormwarning/zazen-eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221720446,"owners_count":16869486,"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":["code-style","eslint-config","xo"],"created_at":"2024-10-10T07:12:08.659Z","updated_at":"2024-10-27T19:09:10.058Z","avatar_url":"https://github.com/stormwarning.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zazen-eslint-config\n\n[![npm version][npm-img]][npm-url]\n[![npm downloads][npm-dls]][npm-url]\n\n[ESLint][] configuration for [zazen][]-generated projects.\n\n## Usage\n\nInstall the conventions by running:\n\n```shell\nnpm install --save-dev eslint @zazen/eslint-config\n```\n\nAdd the extends to your `.eslintrc.js`:\n\n```js\n{\n    extends: ['@zazen'],\n    rules: { /* … */ },\n}\n```\n\nAdd the Prettier settings to your `package.json`:\n\n```json\n\"prettier\": {\n    \"semi\": false,\n    \"singleQuote\": true,\n    \"trailingComma\": \"all\"\n},\n```\n\n### Node projects\n\nExtend the base config as well as the Node-specific rules:\n\n```js\n{\n    extends: ['@zazen', '@zazen/eslint-config/node'],\n    rules: { /* … */ },\n}\n```\n\n### TypeScript projects\n\nExtend the base config as well as the TypeScript-specific rules:\n\n```js\n{\n    extends: ['@zazen', '@zazen/eslint-config/typescript'],\n    rules: { /* … */ },\n}\n```\n\nThis can be used for JavaScript code as well, but will require a `tsconfig.json` file to be present.\n\n### Vue.js projects\n\nRemoved for now until/unless I get more opinionated about Vue code. For now, install `eslint-plugin-vue` per-project, and extend the recommended config in addition to the base config here.\n\n```js\n{\n    extends: [\n        'plugin:vue/[vue3-]recommended',\n        '@zazen',\n        'prettier',\n    ],\n    rules: { /* … */ },\n}\n```\n\nThe TypeScript rules can be included as well, but remember to [set the `parser` option correctly](https://eslint.vuejs.org/user-guide/#what-is-the-use-the-latest-vue-eslint-parser-error).\n\n[npm-url]: https://www.npmjs.com/package/@zazen/eslint-config\n[npm-img]: https://img.shields.io/npm/v/@zazen/eslint-config.svg?style=flat-square\n[npm-dls]: https://img.shields.io/npm/dt/@zazen/eslint-config.svg?style=flat-square\n[issues-url]: https://github.com/stormwarning/zazen-eslint-config/issues\n[issues-img]: https://img.shields.io/github/issues/stormwarning/zazen-eslint-config.svg?style=flat-square\n[eslint]: https://eslint.org\n[zazen]: https://github.com/stormwarning/zazen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstormwarning%2Fzazen-eslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstormwarning%2Fzazen-eslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstormwarning%2Fzazen-eslint-config/lists"}