diff --git a/.eslintrc.json b/.eslintrc.json index 09c2e423e9..9a0d2f4d9e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "@antfu" + "extends": "@ow3" } diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..fba57eabea --- /dev/null +++ b/.github/CODE_OF_CONDUCT.md @@ -0,0 +1,83 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience +* Focusing on what is best not just for us as individuals, but for the overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at chris@meema.xyz. All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series of actions. + +**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. + +For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations]. + +[homepage]: https://www.contributor-covenant.org +[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html +[Mozilla CoC]: https://github.com/mozilla/diversity +[FAQ]: https://www.contributor-covenant.org/faq +[translations]: https://www.contributor-covenant.org/translations diff --git a/.github/ISSUE_TEMPLATE/Bug_report.yml b/.github/ISSUE_TEMPLATE/Bug_report.yml new file mode 100644 index 0000000000..01d35b220b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Bug_report.yml @@ -0,0 +1,30 @@ +name: 🐛 Bug Report +description: Report a general library issue. +labels: [bug] +body: + - type: input + attributes: + label: Package version + description: 'Please provide the full version of table-elements that you''re experiencing the bug with.' + placeholder: v1.2.3 + validations: + required: true + - type: input + attributes: + label: Browser & OS + description: Which browser and OS are you experiencing the issue with? + placeholder: 'Chrome 88 & macOS Monterey' + validations: + required: true + - type: textarea + attributes: + label: Description + description: Please describe what is happening and what you expect to happen. + validations: + required: true + - type: textarea + attributes: + label: Steps to reproduce + description: Please provide accurate steps to reproduce the bug. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/Feature_request.yml b/.github/ISSUE_TEMPLATE/Feature_request.yml new file mode 100644 index 0000000000..48a63a433e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Feature_request.yml @@ -0,0 +1,10 @@ +name: 💡 Feature request +description: 'For ideas or feature requests: please make a pull request or open an issue.' +labels: [enhancement] +body: + - type: textarea + attributes: + label: Please describe the feature + description: A concise description of what you would like to experience. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/Support_question.yml b/.github/ISSUE_TEMPLATE/Support_question.yml new file mode 100644 index 0000000000..e300db07ca --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Support_question.yml @@ -0,0 +1,10 @@ +name: Support question +description: Need help with using this package? Ask your question here. Please browse the Discussions for similar questions before. +labels: [question] +body: + - type: textarea + attributes: + label: How could we help you? + description: Please describe what is happening and what you expect to happen. + validations: + required: true diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 0000000000..744d5a65c5 --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,70 @@ +# Security Policy + +**PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, [SEE BELOW](#reporting-a-vulnerability).** + +## Supported Versions + +Only the latest major version receives security fixes. + +## Reporting a Vulnerability + +If you discover a security vulnerability within this package, please send an email to Chris Breuer at chris@meema.xyz. All security vulnerabilities will be promptly addressed. + +### Public PGP Key + +``` +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: OpenPGP v2.0.8 +Comment: https://sela.io/pgp/ + +mQINBGEO6uYBEACw8ldEmdK0xR2RjeGnAyNQItT83JG1BQmByttddyikolGHY0w1 +MLCSNAwveUT4f5vbDU41sH8QQDda+NBNIWNo+xtFahfWxi3gYpX0xltgPrYkuBIr +P3b6Hz8KsZ5IvGhP4wXI9LA9x8IUjIDMiObx3LyL2MirgF4kHyHwBX444kcsfo3I +6wk/kfcZ2lY63tIplYrkp3znTxRX3lJyroOkEpCVHyajftw41K+WEKstWVAKvxpc +nHg6TW91AyWCS6TLrsmhdnWYfA9lSULlxbH/NQ0HEYRLb+NoTVGWv5y6WC2OFoJO +SvCae1GOqUIdbW4AC3/lQsqI+i2/nyZvaD5xu+HUrB/qN0d4iw2X+6pj+wsO7XQj +x5qbcIZBmNoUfBkjZH8+ZgH6Kit+0qBMMY8afLjngxCCwrlvfRGmEiC8ehNLP7a5 +BjDFbjPBjyjLuZskIerNzHHkJ6XUTQQ8LNfzS32xu8AsF+IknQ/1QuZIfSoRLQdJ +q7s+5hydM0Mtryg8VHL0AN/sXo70EWEl1YgDLEF4iu5cMWWFXlesDmR9wdhDMi8G +S28MRyxx0yitmrEt2WJoGa7D8l9bsVw4ntN5ZP3rd0P67H+lC5FcFqSzFJtxHXLQ +1JZOv/P7AZ6Ps8mb9gLzgMnwmPXBu07AExJutJQaj4U24hJ4Ko3+D9RQ+QARAQAB +tB1DaHJpcyBCcmV1ZXIgPGNocmlzQG1lZW1hLmlvPokCVAQTAQgAPhYhBHLTi9Xr +0tFrh0WzUUaA85gSbnQlBQJhDurmAhsDBQkHhh8zBQsJCAcCBhUKCQgLAgQWAgMB +Ah4BAheAAAoJEEaA85gSbnQlhXAQAK+LLp53dQLoYlwOH/L4XQfY+AVtZXhQwg2+ +gSR7tNP8i+XDvw7OA8UeQ9CKSlIarK/jnynzT91WiwWskGr+DeVR0enuG3CFEW/q +X3o0WH8MjSNhJEFQ6Mo2foAMPOO97Fl7R5vyhEhSXIocnGLdAngxP5sYtOuY32c+ +Bu2z72ChIvpGXh2j44ThHs5xsoq+O5OZg5x2xTaMCyndzpgJTSDlAldnzd0wxbtC +OlSvsgmSWdXls/5pZbE7gny6OuxFo5zxpHEcJnWW//e0cZXKgW4Ps3aNzSPmMKDl +va0Mg2toP9H6z+k9c8H0UZm0KKvKBZi9Bvxcvdc5yLcOeR+Rom1YYNcBsxfJc62Q +6JbaZvDwN3e0RFgitwEyo3Danimp53v1DXbrNfd78FrskES10cX89lBXubSyPpSc +JP1i8IPcooDi8yHw3zAms6qnrEWYFIxCqN8id9gsLxfzwVCRXvUqDhXmzMcZZB2E +wiHP97bq9chlWTQuCkDXrbzHD1SMkaOjbFiVo+w18jNsXdEhHvZKnUQzv0560w2x +DM8NBARGNupmIOc9e4uy5pJIZp4fhKvpGqqih7PpHKFCo8eC+/HgsJh17MpzFTqQ +5hPaCPCc5fnX/GIGdj3Ax6bATX5fAceEGexvjThpP8tKIPWAWbQFjHnnIay0f/nL +wRmWWqeQuQINBGEO6uYBEADLLrKBJ+4VWmGWlylsUmwRoFmwu/GZokCL60jKWtOu +i2JK9JhptL+MNvqFoGChVs+Okx9CYscEGOxnK38frb+H6FrlOXsABFQmg2DBWjkW +9VYkXmQ0M9c/ciMj8m55sh4y6E8ITZ4OuNoLF3ElmKWANU29Z2fW+C8Q7OHiawfU +XJ2UwCUVymQntWrtPCSgBLbgh71l/TSTLdwbwGVFWtxQvO7TXeP+nUNNWRG/UMeT +PSHQ7ANMnllkQNsQtuS/Lkcs/BSM+70g0LvZ88loAU80bxV6XCx7vaKKWV19Lxob +7tu/d7k/kvDq+sGpjPmv0mZCury0F3bk7VHVQ6DKVIt/3R16qUBmGKwECVXDAb2H +zebDcTzMvvICD3fXV5Ye9kCNAeQfMVEXMHf0H14wB1AAr2WAfGyl+g2xwqNRp7DK +Da2JigDvGA14iLwrDFxdpHYIJfMReRngEX6i28WB2GewaIsDGxqsqO0jdwnlJush +0USUnlN4iwQABM+xqJnfX0wZTVXjpw1Thgh1E/0MSceJF3PgZ0CDX9MIZ/azbqsU +tg06F8KxJcwvKbBdp9jTeN0TRSMPlonyAfZblRVyj0/gPcwlBIB/IajwFPCi4eQ+ +/to/kuVe5dnoDVqrNJ2o7sSNi3xEUc7o02RyJhemCrsnPpYyXFmr0ku7c/J347L1 +xQARAQABiQI8BBgBCAAmFiEEctOL1evS0WuHRbNRRoDzmBJudCUFAmEO6uYCGwwF +CQeGHzMACgkQRoDzmBJudCXg/g//VUscqD0h28WYBBffWJb+AAj7T+NNTNcH3I+u +BHcOsvmdH/HSayTHvntqUnV4oVCiAo4U/0xlopJpU45OxPV7vjx66yWAXrwApSJs +BIAa4P/GK2V8q008nP37ha36IHKB11LWZsnKh7/zFOXJ1XlX6FuqvFZkcJNJePCU +sg0RbjlAkRUL7gOFeBktZXGS4cmAzhpUAdDSdZnzVtDpjY4jUswLVn3JZ07CDZx+ +5RRCZKqbT/+2UgwDDe2f+gmoNCrGmaHfHCrk3S0DYBxR/BBMmWnQe2YiM+eHufB9 +MIApvuEgEp0RX68Za/NEdht8vm4LLeZdNxwSG+BgW8vPQRsgT1V+43aNatt5jbHD +hUC5CksIt+i5gy7R9my1xdQ0lqB4jYLcbtBHz0A7E9d9j5kRaGLX3fTr6pOb9KxJ +Ek+KrMLBPp7g4fkn6qUr3xCt1Ss+sDUegHby5PM1ddvs/lbYhZOjq6+7gPvtFkF8 +OcFaR3o0xMRuoSk4/zkge4eeND+XR7+2xvA9G9vDBJ7wV8bbxbEnp7PEFWnZVqDR +Lo2polLYC3wvFQl14tyT3OoDH+mkCPcD+GbDwYbWpcb+v6uCkquqAcHTrbYhwhxY +kXSnpSzMVde7LbHMHiVr0Ubl3k4+1uNiKhY7CLW9pLJwJ4mUmG2VX3YPfG4shnYR +HF/6SiI= +=le/X +-----END PGP PUBLIC KEY BLOCK----- +``` diff --git a/.github/_README.md b/.github/_README.md new file mode 100644 index 0000000000..90cc8ec364 --- /dev/null +++ b/.github/_README.md @@ -0,0 +1,37 @@ +# GitHub Configurations + +This folder contains GitHub configurations for the project, including these features: + +- GitHub Actions (./workflows) + - [CI][CI] - all CI jobs for the project + - lints the code + - `typecheck`s the code + - automatically fixes & applies code style updates + - runs tests (unit, end-to-end) + - runs on `ubuntu-latest` with `node-versions` set to `[16x, 18x]` + - [Lock Closed Issues][Lock Closed Issues] - Locks all closed issues after 14 days of being closed + - [Release][Release] - automates the release process & changelog generation +- Renovate + - automatically updates all the dependencies listed in all package.json files throughout the monorepo + +Aside from these implemented features, this folder also contains the issue templates used to create new GitHub issues. + +## 🏝 Community + +For help, discussion about best practices, or any other conversation that would benefit from being searchable: + +[Discussions on GitHub](https://github.com/openwebstacks/stacks-framework/discussions) + +For casual chit-chat with others using this package: + +[Join the Open Web Discord Server](https://discord.ow3.org) + +## 📄 License + +The MIT License (MIT). Please see [LICENSE](../LICENSE.md) for more information. + +Made with ❤️ + +[CI]: ./workflows/ci.yml +[Release]: ./workflows/release.yml +[Lock Closed Issues]: ./workflows/lock-closed-issues.yml diff --git a/.github/art/favicon.svg b/.github/art/favicon.svg new file mode 100644 index 0000000000..d4d5f0bdf3 --- /dev/null +++ b/.github/art/favicon.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/.github/art/github_social_eslint.png b/.github/art/github_social_eslint.png new file mode 100644 index 0000000000..cfd3de1865 Binary files /dev/null and b/.github/art/github_social_eslint.png differ diff --git a/.github/art/social.png b/.github/art/social.png new file mode 100644 index 0000000000..57569c5ba5 Binary files /dev/null and b/.github/art/social.png differ diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000000..3a9d450ea0 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "@ow3" + ] +} diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 0000000000..80f5b51d9d --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1,16 @@ +# GitHub Actions + +This folder contains the following GitHub Actions: + +- [CI][CI] - all CI jobs for the project + - lints the code + - `typecheck`s the code + - automatically fixes & applies code style updates + - runs tests (unit, end-to-end) + - runs on `ubuntu-latest` with `node-versions` set to `[16x, 18x]` +- [Release][Release] - automates the release process & changelog generation +- [Lock Closed Issues][Lock Closed Issues] - Locks all closed issues after 14 days of being closed + +[CI]: ./workflows/ci.yml +[Release]: ./workflows/release.yml +[Lock Closed Issues]: ./workflows/lock-closed-issues.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..778fe08984 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,134 @@ +name: CI + +on: + push: + branches: + - main + + pull_request: + branches: + - main + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + lint: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + node-version: [16.x, 18.x] + os: [ubuntu-latest] + fail-fast: false + + steps: + - uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Enable Corepack + run: corepack enable + + - name: Install Dependencies + run: pnpm install + + - name: Lint + run: pnpm run lint + + typecheck: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + node-version: [16.x, 18.x] + os: [ubuntu-latest] + fail-fast: false + + steps: + - uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Enable Corepack + run: corepack enable + + - name: Install dependencies + run: pnpm install + + - name: Typecheck + run: pnpm run typecheck + + test: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + node-version: [16.x, 18.x] + os: [ubuntu-latest] + fail-fast: false + + steps: + - uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Enable Corepack + run: corepack enable + + - name: Install Dependencies + run: pnpm install + + - name: Unit Test + run: pnpm run test:unit + + test-e2e: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + node-version: [16.x, 18.x] + os: [ubuntu-latest] + fail-fast: false + + steps: + - uses: actions/checkout@v3 + + - uses: actions/cache@v3 + with: + path: | + ~/.cache + key: cypress-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + registry-url: https://registry.npmjs.org/ + + - name: Enable Corepack + run: corepack enable + + - name: Install Dependencies + run: pnpm install + + # TODO: is this still needed? + - name: Cypress PNPM Patch + run: cp pnpm-lock.yaml package-lock.json + + - name: Cypress + uses: cypress-io/github-action@v2 + with: + install-command: echo + build: pnpm run build + start: npx vite --port 3333 diff --git a/.github/workflows/lock-closed-issues.yml b/.github/workflows/lock-closed-issues.yml new file mode 100644 index 0000000000..3152e7b57e --- /dev/null +++ b/.github/workflows/lock-closed-issues.yml @@ -0,0 +1,23 @@ +name: Lock Closed Issues + +on: + schedule: + - cron: '0 0 * * *' + +permissions: + issues: write + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v3 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-inactive-days: '14' + # issue-comment: | + # This issue has been locked since it has been closed for more than 14 days. + # + # If you have found a concrete bug or regression related to it, please open a new [bug report](https://github.com/openwebstacks/stacks-framework/new/choose) with a reproduction against the latest Stacks version. If you have any other comments you should join the chat at [Stacks Land](https://discord.ow3.org) or create a new [discussion](https://github.com/openwebstacks/stacks-framework). + issue-lock-reason: '' + process-only: issues diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..726ee4eeb6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,41 @@ +name: Release + +on: + push: + tags: + - "v*" + +jobs: + release: + name: Release + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set Node.js + uses: actions/setup-node@v3 + with: + node-version: 16.x + registry-url: "https://registry.npmjs.org" + + - name: Enable Corepack + run: corepack enable + + - name: Install dependencies + run: pnpm install + + - name: Build the release + run: pnpm run build + + - name: Publish to npm + run: pnpm -r publish --access public --no-git-checks + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + + - name: Create GitHub release + run: npx changelogithub + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.vscode/README.md b/.vscode/README.md new file mode 100644 index 0000000000..b769a1226f --- /dev/null +++ b/.vscode/README.md @@ -0,0 +1,19 @@ +# VS Code Configuration + +This folder contains optimized VS Code settings for this particular project. + +## 🏝 Community + +For help, discussion about best practices, or any other conversation that would benefit from being searchable: + +[Discussions on GitHub](https://github.com/openwebstacks/eslint-config/discussions) + +For casual chit-chat with others using this package: + +[Join the Open Web Discord Server](https://discord.ow3.org) + +## 📄 License + +The MIT License (MIT). Please see [LICENSE](../LICENSE.md) for more information. + +Made with ❤️ diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..46ff2dac72 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 + "recommendations": [ + "dbaeumer.vscode-eslint", + "streetsidesoftware.code-spell-checker", + "davidanson.vscode-markdownlint" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..b42ea57fa8 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,127 @@ +{ + "typescript.tsdk": "node_modules/typescript/lib", + "eslint.format.enable": true, + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true, + }, + "[vue]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "[typescript]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "markdownlint.ignore": [ + "CHANGELOG.md" + ], + "search.exclude": { + "dist": true, + "node_modules": true, + "CHANGELOG.md": true, + }, + "explorer.fileNesting.enabled": true, + "explorer.fileNesting.expand": false, + "explorer.fileNesting.patterns": { + "*.component.ts": "$(capture).component.html, $(capture).component.spec.ts, $(capture).component.css, $(capture).component.scss, $(capture).component.sass, $(capture).component.less", + "*.cpp": "$(capture).hpp, $(capture).h, $(capture).hxx", + "*.cshtml": "$(capture).cshtml.cs", + "*.css": "$(capture).css.map, $(capture).*.css", + "*.dart": "$(capture).freezed.dart, $(capture).g.dart", + "*.js": "$(capture).js.map, $(capture).*.js, $(capture)_*.js", + "*.jsx": "$(capture).js, $(capture).*.jsx, $(capture)_*.js, $(capture)_*.jsx", + "*.ts": "$(capture).js, $(capture).*.ts, $(capture)_*.js, $(capture)_*.ts", + "*.tsx": "$(capture).ts, $(capture).*.tsx, $(capture)_*.ts, $(capture)_*.tsx", + "*.vue": "$(capture).*.ts, $(capture).*.js", + "*.xaml": "$(capture).xaml.cs", + ".env": "*.env, .env.*, .envrc, env.d.ts", + ".gitignore": ".gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*", + ".project": ".classpath", + "CMakeLists.txt": "*.cmake, *.cmake.in, .cmake-format.yaml, CMakePresets.json", + "artisan": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, server.php, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, webpack.mix.js, windi.config.*", + "astro.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "cargo.toml": ".clippy.toml, .rustfmt.toml, cargo.lock, clippy.toml, cross.toml, rust-toolchain.toml, rustfmt.toml", + "composer.json": ".php*.cache, composer.lock, phpunit.xml*, psalm*.xml", + "default.nix": "shell.nix", + "deno.json*": "*.env, .env.*, .envrc, api-extractor.json, env.d.ts, import-map.json, import_map.json, jsconfig.*, tsconfig.*, tsdoc.*", + "dockerfile": ".dockerignore, docker-compose.*, dockerfile*", + "flake.nix": "flake.lock", + "gatsby-config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, gatsby-browser.*, gatsby-node.*, gatsby-ssr.*, gatsby-transformer.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "gemfile": ".ruby-version, gemfile.lock", + "go.mod": ".air*, go.sum", + "mix.exs": ".credo.exs, .dialyzer_ignore.exs, .formatter.exs, .iex.exs, .tool-versions, mix.lock", + "next.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, next-env.d.ts, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "nuxt.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "package.json": ".browserslist*, .circleci*, .codecov, .commitlint*, .cz-config.js, .czrc, .editorconfig, .eslint*, .firebase*, .flowconfig, .github*, .gitlab*, .gitpod*, .huskyrc*, .jslint*, .lighthouserc.*, .lintstagedrc*, .markdownlint*, .mocha*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnp.*, .pnpm*, .prettier*, .releaserc*, .sentry*, .stackblitz*, .styleci*, .stylelint*, .tazerc*, .textlint*, .tool-versions, .travis*, .versionrc*, .vscode*, .watchman*, .xo-config*, .yamllint*, .yarnrc*, Procfile, api-extractor.json, apollo.config.*, appveyor*, ava.config.*, azure-pipelines*, bower.json, build.config.*, commitlint*, crowdin*, cypress.json, dangerfile*, dprint.json, firebase.json, grunt*, gulp*, jasmine.*, jenkins*, jest.config.*, jsconfig.*, karma*, lerna*, lighthouserc.*, lint-staged*, nest-cli.*, netlify*, nodemon*, nx.*, package-lock.json, package.nls*.json, phpcs.xml, playwright.config.*, pm2.*, pnpm*, prettier*, pullapprove*, puppeteer.config.*, pyrightconfig.json, renovate*, rollup.config.*, stylelint*, tsconfig.*, tsdoc.*, tslint*, tsup.config.*, turbo*, typedoc*, vercel*, vetur.config.*, vitest.config.*, webpack*, workspace.json, xo.config.*, yarn*", + "pubspec.yaml": ".metadata, .packages, all_lint_rules.yaml, analysis_options.yaml, build.yaml, pubspec.lock", + "pyproject.toml": ".pdm.toml, pdm.lock, pyproject.toml", + "quasar.conf.js": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, quasar.extensions.json, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "readme*": "authors, backers.md, CHANGELOG.md, citation*, code_of_conduct.md, codeowners, contributing.md, contributors, copying, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors.md", + "remix.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, remix.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "rush.json": ".browserslist*, .circleci*, .codecov, .commitlint*, .cz-config.js, .czrc, .editorconfig, .eslint*, .firebase*, .flowconfig, .github*, .gitlab*, .gitpod*, .huskyrc*, .jslint*, .lighthouserc.*, .lintstagedrc*, .markdownlint*, .mocha*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnp.*, .pnpm*, .prettier*, .releaserc*, .sentry*, .stackblitz*, .styleci*, .stylelint*, .tazerc*, .textlint*, .tool-versions, .travis*, .versionrc*, .vscode*, .watchman*, .xo-config*, .yamllint*, .yarnrc*, Procfile, api-extractor.json, apollo.config.*, appveyor*, ava.config.*, azure-pipelines*, bower.json, build.config.*, commitlint*, crowdin*, cypress.json, dangerfile*, dprint.json, firebase.json, grunt*, gulp*, jasmine.*, jenkins*, jest.config.*, jsconfig.*, karma*, lerna*, lighthouserc.*, lint-staged*, nest-cli.*, netlify*, nodemon*, nx.*, package-lock.json, package.nls*.json, phpcs.xml, playwright.config.*, pm2.*, pnpm*, prettier*, pullapprove*, puppeteer.config.*, pyrightconfig.json, renovate*, rollup.config.*, stylelint*, tsconfig.*, tsdoc.*, tslint*, tsup.config.*, turbo*, typedoc*, vercel*, vetur.config.*, vitest.config.*, webpack*, workspace.json, xo.config.*, yarn*", + "shims.d.ts": "*.d.ts", + "svelte.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, mdsvex.config.js, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "vite.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", + "vue.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*" + }, + "cSpell.ignorePaths": [ + "node_modules" + ], + "cSpell.words": [ + "openweblabs", + "openweb", + "meema", + "meemalabs", + "pnpm", + "degit", + "vitest", + "vitejs", + "vite", + "unplugin", + "vueuse", + "vue-demi", + "prefetch", + "destructurable", + "pausable", + "antfu", + "vitebook", + "heroicon", + "booleanish", + "composables", + "preinstall", + "commitlint", + "commitlintrc", + "pathe", + "bumpp", + "unocss", + "windi", + "typecheck", + "iconify", + "heroicons", + "esno", + "openwebstacks", + "jsdelivr", + "sfcs", + "marvinpinto", + "iife", + "rimraf", + "brotli", + "windicss", + "nuxt", + "voorjaar", + "dbaeumer", + "davidanson", + "vitepress", + "deps", + "codecov", + "sfc", + "corepack", + "changelogithub", + "dessant", + "jiti", + "treeshaking", + "breakline", + "automagically", + "singleline" + ], + "prettier.enable": false, +} diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 508a49968d..0000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,740 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [0.19.1](https://github.com/antfu/eslint-config/compare/v0.19.0...v0.19.1) (2022-03-30) - - -### Bug Fixes - -* missing file, close [#76](https://github.com/antfu/eslint-config/issues/76) ([0cc68e6](https://github.com/antfu/eslint-config/commit/0cc68e6219601b09ac8e258b869f23308e073af5)) - - - - - -# [0.19.0](https://github.com/antfu/eslint-config/compare/v0.18.9...v0.19.0) (2022-03-29) - - -### Bug Fixes - -* inline `eslint-config-standard` ([9653a33](https://github.com/antfu/eslint-config/commit/9653a333819cb4f180cede002c965b8a2e2acb82)) - - -### Features - -* vue sfc tags order ([d4538f4](https://github.com/antfu/eslint-config/commit/d4538f42b14d0f7c824795945ffa556d585ceb06)) - - - - - -## [0.18.9](https://github.com/antfu/eslint-config/compare/v0.18.8...v0.18.9) (2022-03-20) - - -### Bug Fixes - -* **vue:** disable `vue/no-setup-props-destructure` ([0a1f8c5](https://github.com/antfu/eslint-config/commit/0a1f8c56124ac1735e7b26879ac3e6ab9289ca74)) -* disable `yml/no-empty-document` ([73a790c](https://github.com/antfu/eslint-config/commit/73a790c1d08f9ce9837cbad03d3f8b68a6b9a5f8)) - - - - - -## [0.18.8](https://github.com/antfu/eslint-config/compare/v0.18.7...v0.18.8) (2022-03-10) - - -### Bug Fixes - -* disable `spaced-comment` in yaml ([a3c897a](https://github.com/antfu/eslint-config/commit/a3c897a9ece0b15508564aa3dc1837eaaa161680)) -* disable no-var-requires in markdown ([774757b](https://github.com/antfu/eslint-config/commit/774757b0e5142f44678b1bd6f0db04aff0a5ee1f)) - - - - - -## [0.18.7](https://github.com/antfu/eslint-config/compare/v0.18.6...v0.18.7) (2022-03-10) - - -### Features - -* improve `no-unused-vars` rule ([2e962a2](https://github.com/antfu/eslint-config/commit/2e962a278571113853435221e8c3d43bd9fa1421)) - - - - - -## [0.18.6](https://github.com/antfu/eslint-config/compare/v0.18.5...v0.18.6) (2022-03-10) - - -### Bug Fixes - -* ignore lock files ([98708f1](https://github.com/antfu/eslint-config/commit/98708f19962c2544ed5fb3385c9cd0054b44c981)) - - - - - -## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10) - - -### Bug Fixes - -* package.json keys order ([97975da](https://github.com/antfu/eslint-config/commit/97975dafc50c919b7a5a46fe94314e4f367bde22)) - - - - - -## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10) - - -### Bug Fixes - -* imporve markdown rules ([e54ac17](https://github.com/antfu/eslint-config/commit/e54ac17e09090fd6ff18e65ecaf312b2a0556aa6)) -* lint vitepress by default ([8f51445](https://github.com/antfu/eslint-config/commit/8f51445a6781c98163a439b25b4fa1c1a6649110)) -* package.json key orders ([b6133dc](https://github.com/antfu/eslint-config/commit/b6133dcd42b1b051e4bd150897c9b307e61eda51)) - - - - - -## [0.18.3](https://github.com/antfu/eslint-config/compare/v0.18.2...v0.18.3) (2022-03-07) - - -### Bug Fixes - -* disable no-callback-literal ([8e1140a](https://github.com/antfu/eslint-config/commit/8e1140aef29d3562eac9f009f45c7160494eec67)) - - - - - -## [0.18.2](https://github.com/antfu/eslint-config/compare/v0.18.1...v0.18.2) (2022-03-07) - - -### Bug Fixes - -* update markdown rules ([0117961](https://github.com/antfu/eslint-config/commit/0117961e430a4f8cd6ad942ba19631f1c7e19459)) - - - - - -## [0.18.1](https://github.com/antfu/eslint-config/compare/v0.18.0...v0.18.1) (2022-03-07) - - -### Bug Fixes - -* markdown parser ([a50bd85](https://github.com/antfu/eslint-config/commit/a50bd851d16a5d80b90a950a0466317e5c2f7575)) - - - - - -# [0.18.0](https://github.com/antfu/eslint-config/compare/v0.17.0...v0.18.0) (2022-03-07) - - -### Features - -* add markdown plugin ([48a0d78](https://github.com/antfu/eslint-config/commit/48a0d78824f99e4a50ac1ff14a154c36ce817700)) - - - - - -# [0.17.0](https://github.com/antfu/eslint-config/compare/v0.16.1...v0.17.0) (2022-03-07) - - -### Features - -* update deps ([83a54e0](https://github.com/antfu/eslint-config/commit/83a54e07d5f1b93df726cbd8d81fb5abee5f60bc)) - - - - - -## [0.16.1](https://github.com/antfu/eslint-config/compare/v0.16.0...v0.16.1) (2022-01-27) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -# [0.16.0](https://github.com/antfu/eslint-config/compare/v0.15.0...v0.16.0) (2022-01-14) - - -### Features - -* upgrade eslint-config-standard ([d33ec89](https://github.com/antfu/eslint-config/commit/d33ec89b7619895cf1541e597e0cb664f69fc95f)) - - - - - -# [0.15.0](https://github.com/antfu/eslint-config/compare/v0.14.2...v0.15.0) (2022-01-06) - - -### Features - -* update ts rules ([13c90b5](https://github.com/antfu/eslint-config/commit/13c90b51504d098ea819dad29888fa5e12f11d3c)) - - - - - -## [0.14.2](https://github.com/antfu/eslint-config/compare/v0.14.1...v0.14.2) (2021-12-27) - - -### Bug Fixes - -* upgrade deps, close [#68](https://github.com/antfu/eslint-config/issues/68) ([7b71c78](https://github.com/antfu/eslint-config/commit/7b71c7852d3db3df05961893b4f085c16d95d274)) - - - - - -## [0.14.1](https://github.com/antfu/eslint-config/compare/v0.14.0...v0.14.1) (2021-12-27) - - -### Bug Fixes - -* disable vue attrs wrap ([46e9ea3](https://github.com/antfu/eslint-config/commit/46e9ea35b9ba4d112cdd0290f0f3cd0309c79416)) - - - - - -# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18) - - -### Features - -* enable sort-imports ([d45487e](https://github.com/antfu/eslint-config/commit/d45487e1f606ce88ca2e36b93953a1af4b726bc1)) - - - - - -## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12) - - -### Bug Fixes - -* `no-use-before-define` for functions ([0722603](https://github.com/antfu/eslint-config/commit/0722603cfee659abab80e9e7f30a8112702ccc12)) - - - - - -# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12) - - -### Features - -* update ts rules, enforce import type ([dd76d5d](https://github.com/antfu/eslint-config/commit/dd76d5d8d9e0f016a00ab92f65cadb1655395c1c)) - - - - - -## [0.12.2](https://github.com/antfu/eslint-config/compare/v0.12.1...v0.12.2) (2021-12-07) - - -### Bug Fixes - -* **react:** disable `react/react-in-jsx-scope` ([2ccdc6f](https://github.com/antfu/eslint-config/commit/2ccdc6f2a5850081a12a7484625745dfbb371cc9)) - - - - - -## [0.12.1](https://github.com/antfu/eslint-config/compare/v0.12.0...v0.12.1) (2021-12-05) - - -### Bug Fixes - -* rules ([6373bc7](https://github.com/antfu/eslint-config/commit/6373bc7ec95fd97379ee6b550148fa34f0611ace)) - - - - - -# [0.12.0](https://github.com/antfu/eslint-config/compare/v0.11.1...v0.12.0) (2021-12-04) - - -### Features - -* rules for tests ([2e07691](https://github.com/antfu/eslint-config/commit/2e07691eebc3d74bf0c9d8b14cedc7ef7c89fbfb)) - - - - - -## [0.11.1](https://github.com/antfu/eslint-config/compare/v0.11.0...v0.11.1) (2021-11-27) - - -### Bug Fixes - -* **vue:** disable `vue/multi-word-component-names` ([eb76d9b](https://github.com/antfu/eslint-config/commit/eb76d9b8bb2dd09ee8baaeec9c4e8610377e9e73)) - - - - - -# [0.11.0](https://github.com/antfu/eslint-config/compare/v0.10.0...v0.11.0) (2021-11-27) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16) - - -### Features - -* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81)) -* use yaml-eslint-parser ([#63](https://github.com/antfu/eslint-config/issues/63)) ([3b079f9](https://github.com/antfu/eslint-config/commit/3b079f94254639a6e9dc77b687350aaefcb7efe5)) - - - - - -# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14) - - -### Bug Fixes - -* improve rules for specific files ([d701469](https://github.com/antfu/eslint-config/commit/d701469a551b2321cab6d75bf18eb71d96dd6f2a)) - - - - - -## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13) - - -### Bug Fixes - -* disable rules ([dcb4a67](https://github.com/antfu/eslint-config/commit/dcb4a67de26a19376ae0db67e14663cbb355680d)) - - - - - -## [0.8.1](https://github.com/antfu/eslint-config/compare/v0.8.0...v0.8.1) (2021-09-08) - - -### Bug Fixes - -* `eqeqeq` rule deprecated option allow-null ([#61](https://github.com/antfu/eslint-config/issues/61)) ([92c3e62](https://github.com/antfu/eslint-config/commit/92c3e62135d7a654f5de8a59f251f8a8e4a80686)) - - - - - -# [0.8.0](https://github.com/antfu/eslint-config/compare/v0.7.0...v0.8.0) (2021-09-07) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -# [0.7.0](https://github.com/antfu/eslint-config/compare/v0.6.6...v0.7.0) (2021-07-05) - - -### Bug Fixes - -* disable `no-undef` for vue files ([46a8d7a](https://github.com/antfu/eslint-config/commit/46a8d7acdee3a99d6838bf427c6fd2b133f70ddc)) -* typescript-eslint conflict with indent rule ([#59](https://github.com/antfu/eslint-config/issues/59)) ([5bc11e4](https://github.com/antfu/eslint-config/commit/5bc11e42e69d00c3b4be279338ae14a65b4886e5)) - - - - - -## [0.6.6](https://github.com/antfu/eslint-config/compare/v0.6.5...v0.6.6) (2021-06-11) - - -### Bug Fixes - -* no-console allow warn and error ([8dce7d1](https://github.com/antfu/eslint-config/commit/8dce7d171d81b5e5a74188fc74b24a90227fac5e)) - - - - - -## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09) - - -### Bug Fixes - -* `no-spaced-func` was deprecated in v3.3.0 ([#57](https://github.com/antfu/eslint-config/issues/57)) ([c968ecc](https://github.com/antfu/eslint-config/commit/c968eccbcda3f94fb8b66ed08051c41bde3acb48)) -* no-console ([ab21039](https://github.com/antfu/eslint-config/commit/ab21039962d1e24f026714abd394dbea19199eb2)) - - - - - -## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19) - - -### Bug Fixes - -* overrides ([8f3f8f5](https://github.com/antfu/eslint-config/commit/8f3f8f5a42e1864b42ba7b276b1e8efdb2e80e27)) - - - - - -## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) - - -### Bug Fixes - -* eslint-basic rules do not take effect ([#56](https://github.com/antfu/eslint-config/issues/56)) ([412d848](https://github.com/antfu/eslint-config/commit/412d8480d951e8361dda69be8a7e8722c255b755)) - - - - - -## [0.6.2](https://github.com/antfu/eslint-config/compare/v0.6.1...v0.6.2) (2021-03-15) - - -### Bug Fixes - -* bring back eslint-plugin-html ([3150569](https://github.com/antfu/eslint-config/commit/31505698e4738ac77e074d6cddf89fd16b0ed01f)) -* only disable no-unused-vars on vue file ([6759593](https://github.com/antfu/eslint-config/commit/67595932e447824837d9776204c9b559cb06a185)) - - - - - -## [0.6.1](https://github.com/antfu/eslint-config/compare/v0.6.0...v0.6.1) (2021-03-14) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -# [0.6.0](https://github.com/antfu/eslint-config/compare/v0.5.1...v0.6.0) (2021-03-14) - - -### Features - -* overhaul ([d11174c](https://github.com/antfu/eslint-config/commit/d11174c6ddfa6fad5c3f47564985a65f46f83bff)) - - - - - -## [0.5.1](https://github.com/antfu/eslint-config/compare/v0.5.0...v0.5.1) (2021-03-13) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13) - - -### Features - -* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3)) - - - - - -## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21) - - -### Bug Fixes - -* disable import/no-absolute-path ([245001d](https://github.com/antfu/eslint-config/commit/245001d08129b3ec4961741d596f70abb2c9be5f)) - - - - - -## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config-monorepo - - - - - -## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) - - -### Bug Fixes - -* ref ([e53f3ec](https://github.com/antfu/eslint-config/commit/e53f3ec8dbc1cc3e32d57c08604b2b1d51661ca4)) - - - - - -# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([f82ee6f](https://github.com/antfu/eslint-config/commit/f82ee6fce9153f098c8fbbeef17f88261e08176f)) -* **deps:** update all non-major dependencies ([2243bf6](https://github.com/antfu/eslint-config/commit/2243bf67fac0f75c1a4e35c604f49ebb2092d960)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.7.0 ([3a6b4ea](https://github.com/antfu/eslint-config/commit/3a6b4ea59ec8b9a4d75452ae1f6fd2c51d96b242)) -* **deps:** update dependency eslint-plugin-vue to v7.0.0-beta.0 ([e0b59f2](https://github.com/antfu/eslint-config/commit/e0b59f271fa3c679e5c4a7d61b5af79cef37721f)) - - -### Features - -* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf)) - - - - - -## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.1.0 ([494d99c](https://github.com/antfu/eslint-config/commit/494d99c2bb52895a055cea7be9b50494a6a67358)) - - - - - -## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([ae3acb4](https://github.com/antfu/eslint-config/commit/ae3acb40f34fa117bb0afe6f9959daa5c0f9a197)) -* **deps:** update all non-major dependencies ([367c663](https://github.com/antfu/eslint-config/commit/367c663eb0eca976b2e932d5666b0e47f751a03c)) -* **deps:** update all non-major dependencies ([d938b1d](https://github.com/antfu/eslint-config/commit/d938b1d714e429f4dd4cce56b8b2c4cdee0de242)) -* **deps:** update all non-major dependencies ([8bda49a](https://github.com/antfu/eslint-config/commit/8bda49afb37d50c647995354cec4d11589eeef8f)) -* **deps:** update all non-major dependencies ([cd48d47](https://github.com/antfu/eslint-config/commit/cd48d476bfe63623b66d9d5107b794f3b2e73129)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.21.0 ([ae238f2](https://github.com/antfu/eslint-config/commit/ae238f275c17c8959274da007b60cae2f029b7d0)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.23.0 ([ae8dee6](https://github.com/antfu/eslint-config/commit/ae8dee603589f80410cb19a009a4f50a7daf5472)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.25.0 ([da8bfed](https://github.com/antfu/eslint-config/commit/da8bfed5c582940ebef807cc396a4c28de7135dd)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.26.0 ([9c66671](https://github.com/antfu/eslint-config/commit/9c666715c2eef912e343649875441a564486d5ec)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.27.0 ([dc00c77](https://github.com/antfu/eslint-config/commit/dc00c77075c87f8e49b39b32d44ca4fde0590731)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.28.0 ([e42c576](https://github.com/antfu/eslint-config/commit/e42c5767f6f9a9013286354ee238977b36bbbee2)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.29.0 ([5e65853](https://github.com/antfu/eslint-config/commit/5e6585335d4f7b88355a7430911c9712bcd20115)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.30.0 ([cabb099](https://github.com/antfu/eslint-config/commit/cabb0999cd95d63fd35b50a0073c324f54a621e5)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.31.0 ([2fb8855](https://github.com/antfu/eslint-config/commit/2fb885521b80ba72511b1005ad919ed148c99428)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.33.0 ([d857537](https://github.com/antfu/eslint-config/commit/d8575375f6505bfee4165dc33b1cd924b63fb15e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.0.2 ([214c0be](https://github.com/antfu/eslint-config/commit/214c0be0292d8b95d57d1fe0272ee7af7a130b78)) -* **deps:** update dependency eslint-plugin-nuxt to v1 ([f5d6ebd](https://github.com/antfu/eslint-config/commit/f5d6ebda7cfa17ad8992e1ccc4fd9be020711375)) -* **deps:** update dependency eslint-plugin-unicorn to v16 ([8bb4687](https://github.com/antfu/eslint-config/commit/8bb46879d8beda646e06e558db6ea7489d0e02cc)) -* **deps:** update dependency eslint-plugin-unicorn to v17 ([9685653](https://github.com/antfu/eslint-config/commit/96856537cd165d553dc745b96332889daebf75a4)) -* **deps:** update dependency eslint-plugin-unicorn to v18 ([05334ab](https://github.com/antfu/eslint-config/commit/05334ab400e3a4d172251264c45faae1fcafd861)) -* **deps:** update dependency eslint-plugin-unicorn to v19 ([cbd45fd](https://github.com/antfu/eslint-config/commit/cbd45fdcf9d06cbcf66bd2c23510ac36b330941b)) -* **deps:** update dependency eslint-plugin-unicorn to v20 ([7a2af88](https://github.com/antfu/eslint-config/commit/7a2af88bd9935f58df3ac0b733642ec32fb9f722)) -* **deps:** update typescript-eslint monorepo to v3 ([ebb1820](https://github.com/antfu/eslint-config/commit/ebb18209d5c8417da41be7ca8b2b8658bd4ba1a5)) - - - - - -## [0.2.11](https://github.com/antfu/eslint-config/compare/v0.2.10...v0.2.11) (2020-01-30) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([faa9b11](https://github.com/antfu/eslint-config/commit/faa9b11d52d5d34a4c89917bb6b1aeaa8f7bbdb2)) -* **deps:** update dependency eslint-plugin-node to v11 ([#19](https://github.com/antfu/eslint-config/issues/19)) ([d37b5cc](https://github.com/antfu/eslint-config/commit/d37b5cc912b017eeca513a806a3f755c1094bafe)) -* **deps:** update dependency eslint-plugin-unicorn to v15 ([#18](https://github.com/antfu/eslint-config/issues/18)) ([b6c068c](https://github.com/antfu/eslint-config/commit/b6c068cf01539d2d94867664cbc54728fa99852e)) -* update ([ce7f9ec](https://github.com/antfu/eslint-config/commit/ce7f9ec9687fea47757e973344fd2068cc7e5a8f)) - - - - - -## [0.2.10](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.10) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) -* **deps:** update dependency eslint-plugin-unicorn to v14 ([#16](https://github.com/antfu/eslint-config/issues/16)) ([49f5108](https://github.com/antfu/eslint-config/commit/49f5108fb2144f6ccc5f6a15d1bc135542070168)) -* **deps:** update dependency eslint-plugin-vue to v6 ([#13](https://github.com/antfu/eslint-config/issues/13)) ([5d0daca](https://github.com/antfu/eslint-config/commit/5d0dacae0af218e30868fcfb7b60afd6dbeda45b)) -* dependencies ([c773e5e](https://github.com/antfu/eslint-config/commit/c773e5e043ad37a90785ccfe4834b4fcd2a9dadd)) - - - - - - -## [0.2.9](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.9) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) -* **deps:** update dependency eslint-plugin-unicorn to v14 ([#16](https://github.com/antfu/eslint-config/issues/16)) ([49f5108](https://github.com/antfu/eslint-config/commit/49f5108fb2144f6ccc5f6a15d1bc135542070168)) -* **deps:** update dependency eslint-plugin-vue to v6 ([#13](https://github.com/antfu/eslint-config/issues/13)) ([5d0daca](https://github.com/antfu/eslint-config/commit/5d0dacae0af218e30868fcfb7b60afd6dbeda45b)) -* dependencies ([c773e5e](https://github.com/antfu/eslint-config/commit/c773e5e043ad37a90785ccfe4834b4fcd2a9dadd)) - - - - - - -## [0.2.8](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.8) (2019-10-29) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.1.0 ([99a5c38](https://github.com/antfu/eslint-config/commit/99a5c38)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.3.1 ([8c12e7e](https://github.com/antfu/eslint-config/commit/8c12e7e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.5.0 ([#11](https://github.com/antfu/eslint-config/issues/11)) ([d5341a2](https://github.com/antfu/eslint-config/commit/d5341a2)) -* **deps:** update dependency eslint-config-standard to v14 ([d8d11aa](https://github.com/antfu/eslint-config/commit/d8d11aa)) -* **deps:** update dependency eslint-plugin-node to v10 ([2e4bef3](https://github.com/antfu/eslint-config/commit/2e4bef3)) -* **deps:** update dependency eslint-plugin-unicorn to v12 ([f565a2f](https://github.com/antfu/eslint-config/commit/f565a2f)) - - - - - - -## [0.2.7](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.7) (2019-10-29) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.1.0 ([99a5c38](https://github.com/antfu/eslint-config/commit/99a5c38)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.3.1 ([8c12e7e](https://github.com/antfu/eslint-config/commit/8c12e7e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.5.0 ([#11](https://github.com/antfu/eslint-config/issues/11)) ([d5341a2](https://github.com/antfu/eslint-config/commit/d5341a2)) -* **deps:** update dependency eslint-config-standard to v14 ([d8d11aa](https://github.com/antfu/eslint-config/commit/d8d11aa)) -* **deps:** update dependency eslint-plugin-node to v10 ([2e4bef3](https://github.com/antfu/eslint-config/commit/2e4bef3)) -* **deps:** update dependency eslint-plugin-unicorn to v12 ([f565a2f](https://github.com/antfu/eslint-config/commit/f565a2f)) - - - - - -## [0.2.6](https://github.com/antfu/eslint-config/compare/v0.2.5...v0.2.6) (2019-08-22) - - -### Bug Fixes - -* **deps:** update dependency eslint-plugin-unicorn to v10 ([b4b704f](https://github.com/antfu/eslint-config/commit/b4b704f)) -* **deps:** update typescript-eslint monorepo to v2 ([1f4250e](https://github.com/antfu/eslint-config/commit/1f4250e)) -* update ts config ([0a2b8cd](https://github.com/antfu/eslint-config/commit/0a2b8cd)) - - - - - -## [0.2.5](https://github.com/antfu/eslint-config/compare/v0.2.4...v0.2.5) (2019-07-19) - - -### Bug Fixes - -* vue ([be4d232](https://github.com/antfu/eslint-config/commit/be4d232)) - - - - - -## [0.2.4](https://github.com/antfu/eslint-config/compare/v0.2.3...v0.2.4) (2019-07-19) - - -### Bug Fixes - -* vue deps ([03b3d7a](https://github.com/antfu/eslint-config/commit/03b3d7a)) - - - - - -## [0.2.3](https://github.com/antfu/eslint-config/compare/v0.2.2...v0.2.3) (2019-07-19) - - -### Bug Fixes - -* update vue config ([cbf7bca](https://github.com/antfu/eslint-config/commit/cbf7bca)) - - - - - -## [0.2.2](https://github.com/antfu/eslint-config/compare/v0.2.1...v0.2.2) (2019-07-19) - - -### Bug Fixes - -* update ts rules ([5d507f1](https://github.com/antfu/eslint-config/commit/5d507f1)) - - - - - -## [0.2.1](https://github.com/antfu/eslint-config/compare/v0.2.0...v0.2.1) (2019-07-17) - - -### Bug Fixes - -* extends order ([0b40222](https://github.com/antfu/eslint-config/commit/0b40222)) - - - - - -# [0.2.0](https://github.com/antfu/eslint-config/compare/v0.1.5...v0.2.0) (2019-07-17) - - -### Features - -* add ts config ([b025b09](https://github.com/antfu/eslint-config/commit/b025b09)) diff --git a/LICENSE b/LICENSE index 13d3a23932..6ad965926a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ -MIT License +# MIT License -Copyright (c) 2019-PRESENT Anthony Fu +Copyright (c) 2022 Open Web Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 76fdf75026..e323873e96 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,14 @@ -# @antfu/eslint-config +

Social Card of ESLint Config

-[![npm](https://img.shields.io/npm/v/@antfu/eslint-config?color=a1b858&label=)](https://npmjs.com/package/@antfu/eslint-config) +[![npm version][npm-version-src]][npm-version-href] +[![GitHub Actions][github-actions-src]][github-actions-href] +[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) + + + +# @ow3/eslint-config + +Forked from [`@antfu/eslint-config`](https://github.com/antfu/eslint-config) - Single quotes, no semi - Auto fix for formatting (aimed to be used standalone without Prettier) @@ -9,19 +17,24 @@ - Sorted imports, dangling commas for cleaner commit diff - Reasonable defaults, best practices, only one-line of config +###### Changes in this fork + +- Improved component library linting & formatting +- Stacks support + ## Usage ### Install ```bash -pnpm add -D eslint @antfu/eslint-config +pnpm add -D eslint @ow3/eslint-config ``` ### Config `.eslintrc` ```json { - "extends": "@antfu" + "extends": "@ow3" } ``` @@ -55,12 +68,38 @@ Create `.vscode/settings.json` ## Check Also -- [antfu/dotfiles](https://github.com/antfu/dotfiles) - My dotfiles -- [antfu/vscode-settings](https://github.com/antfu/vscode-settings) - My VS Code settings -- [antfu/eslint-config](https://github.com/antfu/eslint-config) - My ESLint config -- [antfu/ts-starter](https://github.com/antfu/ts-starter) - My starter template for TypeScript library -- [antfu/vitesse](https://github.com/antfu/vitesse) - My starter template for Vue & Vite app +- [openwebstacks/stacks-framework](https://github.com/openwebstacks/stacks-framework) - Stacks - The modern way to create & distribute component libraries +- [openwebstacks/vue-starter](https://github.com/openwebstacks/vue-starter) - Starter template for Vue libraries +- [openwebstacks/web-components-starter](https://github.com/openwebstacks/web-components-starter) - Starter template for Web Component libraries +- [openwebstacks/composable-starter](https://github.com/openwebstacks/composable-starter) - Starter template for Composable libraries +- [openwebstacks/ts-starter](https://github.com/openwebstacks/ts-starter) - Starter template for TypeScript libraries + +## 📈 Changelog + +Please see our [releases](https://github.com/openwebstacks/eslint-config/releases) page for more information on what has changed recently. + +## 🏝 Community + +For help, discussion about best practices, or any other conversation that would benefit from being searchable: + +[Discussions on GitHub](https://github.com/openwebstacks/eslint-config/discussions) + +For casual chit-chat with others using this package: + +[Join the Open Web Discord Server](https://discord.ow3.org) + +## 📄 License + +The MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information. + +Made with ❤️ + + +[npm-version-src]: https://img.shields.io/npm/v/@ow3/eslint-config?style=flat-square +[npm-version-href]: https://npmjs.com/package/@ow3/eslint-config -## License +[npm-downloads-src]: https://img.shields.io/npm/dm/@ow3/eslint-config?style=flat-square +[npm-downloads-href]: https://npmjs.com/package/@ow3/eslint-config -MIT +[github-actions-src]: https://img.shields.io/github/workflow/status/openwebstacks/eslint-config/CI/main?style=flat-square +[github-actions-href]: https://github.com/openwebstacks/eslint-config/actions?query=workflow%3Aci diff --git a/package.json b/package.json index 7ad4593a4b..2f98e9adb0 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,20 @@ { - "name": "@antfu/eslint-config-monorepo", - "version": "0.25.1", + "name": "@ow3/eslint-config-monorepo", + "version": "0.0.0", "private": true, - "packageManager": "pnpm@7.1.0", - "author": "Anthony Fu (https://github.com/antfu/)", + "packageManager": "pnpm@7.3.0", + "author": "Chris Breuer", "license": "MIT", "scripts": { "lint": "eslint .", "prepare": "pnpm -r run stub", - "release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish --access public" + "release": "bumpp package.json packages/*/package.json" }, "devDependencies": { - "@antfu/eslint-config": "*", - "bumpp": "^7.1.1", + "@ow3/eslint-config": "*", + "bumpp": "^8.2.0", "eslint": "^8.16.0", - "eslint-plugin-antfu": "workspace:*", + "eslint-plugin-ow3": "workspace:*", "typescript": "^4.7.2" } } diff --git a/packages/all/CHANGELOG.md b/packages/all/CHANGELOG.md deleted file mode 100644 index 48bbab2c31..0000000000 --- a/packages/all/CHANGELOG.md +++ /dev/null @@ -1,416 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [0.19.1](https://github.com/antfu/eslint-config/compare/v0.19.0...v0.19.1) (2022-03-30) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.19.0](https://github.com/antfu/eslint-config/compare/v0.18.9...v0.19.0) (2022-03-29) - - -### Bug Fixes - -* inline `eslint-config-standard` ([9653a33](https://github.com/antfu/eslint-config/commit/9653a333819cb4f180cede002c965b8a2e2acb82)) - - - - - -## [0.18.9](https://github.com/antfu/eslint-config/compare/v0.18.8...v0.18.9) (2022-03-20) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.8](https://github.com/antfu/eslint-config/compare/v0.18.7...v0.18.8) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.7](https://github.com/antfu/eslint-config/compare/v0.18.6...v0.18.7) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.6](https://github.com/antfu/eslint-config/compare/v0.18.5...v0.18.6) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.3](https://github.com/antfu/eslint-config/compare/v0.18.2...v0.18.3) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.2](https://github.com/antfu/eslint-config/compare/v0.18.1...v0.18.2) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.18.1](https://github.com/antfu/eslint-config/compare/v0.18.0...v0.18.1) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.18.0](https://github.com/antfu/eslint-config/compare/v0.17.0...v0.18.0) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.17.0](https://github.com/antfu/eslint-config/compare/v0.16.1...v0.17.0) (2022-03-07) - - -### Features - -* update deps ([83a54e0](https://github.com/antfu/eslint-config/commit/83a54e07d5f1b93df726cbd8d81fb5abee5f60bc)) - - - - - -## [0.16.1](https://github.com/antfu/eslint-config/compare/v0.16.0...v0.16.1) (2022-01-27) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.16.0](https://github.com/antfu/eslint-config/compare/v0.15.0...v0.16.0) (2022-01-14) - - -### Features - -* upgrade eslint-config-standard ([d33ec89](https://github.com/antfu/eslint-config/commit/d33ec89b7619895cf1541e597e0cb664f69fc95f)) - - - - - -# [0.15.0](https://github.com/antfu/eslint-config/compare/v0.14.2...v0.15.0) (2022-01-06) - - -### Features - -* update ts rules ([13c90b5](https://github.com/antfu/eslint-config/commit/13c90b51504d098ea819dad29888fa5e12f11d3c)) - - - - - -## [0.14.2](https://github.com/antfu/eslint-config/compare/v0.14.1...v0.14.2) (2021-12-27) - - -### Bug Fixes - -* upgrade deps, close [#68](https://github.com/antfu/eslint-config/issues/68) ([7b71c78](https://github.com/antfu/eslint-config/commit/7b71c7852d3db3df05961893b4f085c16d95d274)) - - - - - -## [0.14.1](https://github.com/antfu/eslint-config/compare/v0.14.0...v0.14.1) (2021-12-27) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.12.2](https://github.com/antfu/eslint-config/compare/v0.12.1...v0.12.2) (2021-12-07) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.12.1](https://github.com/antfu/eslint-config/compare/v0.12.0...v0.12.1) (2021-12-05) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.12.0](https://github.com/antfu/eslint-config/compare/v0.11.1...v0.12.0) (2021-12-04) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.11.1](https://github.com/antfu/eslint-config/compare/v0.11.0...v0.11.1) (2021-11-27) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.11.0](https://github.com/antfu/eslint-config/compare/v0.10.0...v0.11.0) (2021-11-27) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16) - - -### Features - -* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81)) - - - - - -# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14) - - -### Bug Fixes - -* improve rules for specific files ([d701469](https://github.com/antfu/eslint-config/commit/d701469a551b2321cab6d75bf18eb71d96dd6f2a)) - - - - - -## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.8.1](https://github.com/antfu/eslint-config/compare/v0.8.0...v0.8.1) (2021-09-08) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.8.0](https://github.com/antfu/eslint-config/compare/v0.7.0...v0.8.0) (2021-09-07) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.7.0](https://github.com/antfu/eslint-config/compare/v0.6.6...v0.7.0) (2021-07-05) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.6.6](https://github.com/antfu/eslint-config/compare/v0.6.5...v0.6.6) (2021-06-11) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.6.2](https://github.com/antfu/eslint-config/compare/v0.6.1...v0.6.2) (2021-03-15) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.6.1](https://github.com/antfu/eslint-config/compare/v0.6.0...v0.6.1) (2021-03-14) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.6.0](https://github.com/antfu/eslint-config/compare/v0.5.1...v0.6.0) (2021-03-14) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.5.1](https://github.com/antfu/eslint-config/compare/v0.5.0...v0.5.1) (2021-03-13) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12) - - -### Features - -* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf)) diff --git a/packages/all/index.js b/packages/all/index.js index c7fcad852d..263cf61aa6 100644 --- a/packages/all/index.js +++ b/packages/all/index.js @@ -1,6 +1,6 @@ module.exports = { extends: [ - '@antfu/eslint-config-react', - '@antfu/eslint-config-vue', + '@ow3/eslint-config-react', + '@ow3/eslint-config-vue', ], } diff --git a/packages/all/package.json b/packages/all/package.json index 4dee120845..085ae334a5 100644 --- a/packages/all/package.json +++ b/packages/all/package.json @@ -1,10 +1,10 @@ { - "name": "@antfu/eslint-config", - "version": "0.25.1", - "description": "Anthony's ESLint config", - "author": "Anthony Fu (https://github.com/antfu/)", + "name": "@ow3/eslint-config", + "version": "0.0.0", + "description": "Open Web Foundation's ESLint config", + "author": "Chris Breuer", "license": "MIT", - "homepage": "https://github.com/antfu/eslint-config", + "homepage": "https://github.com/openwebstacks/eslint-config", "keywords": [ "eslint-config" ], @@ -16,8 +16,8 @@ "eslint": ">=7.4.0" }, "dependencies": { - "@antfu/eslint-config-react": "workspace:*", - "@antfu/eslint-config-vue": "workspace:*", + "@ow3/eslint-config-react": "workspace:*", + "@ow3/eslint-config-vue": "workspace:*", "@typescript-eslint/eslint-plugin": "^5.26.0", "@typescript-eslint/parser": "^5.26.0", "eslint-plugin-eslint-comments": "^3.2.0", diff --git a/packages/basic/CHANGELOG.md b/packages/basic/CHANGELOG.md deleted file mode 100644 index d279b01b35..0000000000 --- a/packages/basic/CHANGELOG.md +++ /dev/null @@ -1,572 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [0.19.1](https://github.com/antfu/eslint-config/compare/v0.19.0...v0.19.1) (2022-03-30) - - -### Bug Fixes - -* missing file, close [#76](https://github.com/antfu/eslint-config/issues/76) ([0cc68e6](https://github.com/antfu/eslint-config/commit/0cc68e6219601b09ac8e258b869f23308e073af5)) - - - - - -# [0.19.0](https://github.com/antfu/eslint-config/compare/v0.18.9...v0.19.0) (2022-03-29) - - -### Bug Fixes - -* inline `eslint-config-standard` ([9653a33](https://github.com/antfu/eslint-config/commit/9653a333819cb4f180cede002c965b8a2e2acb82)) - - - - - -## [0.18.9](https://github.com/antfu/eslint-config/compare/v0.18.8...v0.18.9) (2022-03-20) - - -### Bug Fixes - -* disable `yml/no-empty-document` ([73a790c](https://github.com/antfu/eslint-config/commit/73a790c1d08f9ce9837cbad03d3f8b68a6b9a5f8)) - - - - - -## [0.18.8](https://github.com/antfu/eslint-config/compare/v0.18.7...v0.18.8) (2022-03-10) - - -### Bug Fixes - -* disable `spaced-comment` in yaml ([a3c897a](https://github.com/antfu/eslint-config/commit/a3c897a9ece0b15508564aa3dc1837eaaa161680)) -* disable no-var-requires in markdown ([774757b](https://github.com/antfu/eslint-config/commit/774757b0e5142f44678b1bd6f0db04aff0a5ee1f)) - - - - - -## [0.18.7](https://github.com/antfu/eslint-config/compare/v0.18.6...v0.18.7) (2022-03-10) - - -### Features - -* improve `no-unused-vars` rule ([2e962a2](https://github.com/antfu/eslint-config/commit/2e962a278571113853435221e8c3d43bd9fa1421)) - - - - - -## [0.18.6](https://github.com/antfu/eslint-config/compare/v0.18.5...v0.18.6) (2022-03-10) - - -### Bug Fixes - -* ignore lock files ([98708f1](https://github.com/antfu/eslint-config/commit/98708f19962c2544ed5fb3385c9cd0054b44c981)) - - - - - -## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10) - - -### Bug Fixes - -* package.json keys order ([97975da](https://github.com/antfu/eslint-config/commit/97975dafc50c919b7a5a46fe94314e4f367bde22)) - - - - - -## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10) - - -### Bug Fixes - -* imporve markdown rules ([e54ac17](https://github.com/antfu/eslint-config/commit/e54ac17e09090fd6ff18e65ecaf312b2a0556aa6)) -* lint vitepress by default ([8f51445](https://github.com/antfu/eslint-config/commit/8f51445a6781c98163a439b25b4fa1c1a6649110)) -* package.json key orders ([b6133dc](https://github.com/antfu/eslint-config/commit/b6133dcd42b1b051e4bd150897c9b307e61eda51)) - - - - - -## [0.18.3](https://github.com/antfu/eslint-config/compare/v0.18.2...v0.18.3) (2022-03-07) - - -### Bug Fixes - -* disable no-callback-literal ([8e1140a](https://github.com/antfu/eslint-config/commit/8e1140aef29d3562eac9f009f45c7160494eec67)) - - - - - -## [0.18.2](https://github.com/antfu/eslint-config/compare/v0.18.1...v0.18.2) (2022-03-07) - - -### Bug Fixes - -* update markdown rules ([0117961](https://github.com/antfu/eslint-config/commit/0117961e430a4f8cd6ad942ba19631f1c7e19459)) - - - - - -## [0.18.1](https://github.com/antfu/eslint-config/compare/v0.18.0...v0.18.1) (2022-03-07) - - -### Bug Fixes - -* markdown parser ([a50bd85](https://github.com/antfu/eslint-config/commit/a50bd851d16a5d80b90a950a0466317e5c2f7575)) - - - - - -# [0.18.0](https://github.com/antfu/eslint-config/compare/v0.17.0...v0.18.0) (2022-03-07) - - -### Features - -* add markdown plugin ([48a0d78](https://github.com/antfu/eslint-config/commit/48a0d78824f99e4a50ac1ff14a154c36ce817700)) - - - - - -# [0.17.0](https://github.com/antfu/eslint-config/compare/v0.16.1...v0.17.0) (2022-03-07) - - -### Features - -* update deps ([83a54e0](https://github.com/antfu/eslint-config/commit/83a54e07d5f1b93df726cbd8d81fb5abee5f60bc)) - - - - - -## [0.16.1](https://github.com/antfu/eslint-config/compare/v0.16.0...v0.16.1) (2022-01-27) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -# [0.16.0](https://github.com/antfu/eslint-config/compare/v0.15.0...v0.16.0) (2022-01-14) - - -### Features - -* upgrade eslint-config-standard ([d33ec89](https://github.com/antfu/eslint-config/commit/d33ec89b7619895cf1541e597e0cb664f69fc95f)) - - - - - -# [0.15.0](https://github.com/antfu/eslint-config/compare/v0.14.2...v0.15.0) (2022-01-06) - - -### Features - -* update ts rules ([13c90b5](https://github.com/antfu/eslint-config/commit/13c90b51504d098ea819dad29888fa5e12f11d3c)) - - - - - -## [0.14.2](https://github.com/antfu/eslint-config/compare/v0.14.1...v0.14.2) (2021-12-27) - - -### Bug Fixes - -* upgrade deps, close [#68](https://github.com/antfu/eslint-config/issues/68) ([7b71c78](https://github.com/antfu/eslint-config/commit/7b71c7852d3db3df05961893b4f085c16d95d274)) - - - - - -# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18) - - -### Features - -* enable sort-imports ([d45487e](https://github.com/antfu/eslint-config/commit/d45487e1f606ce88ca2e36b93953a1af4b726bc1)) - - - - - -# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12) - - -### Features - -* update ts rules, enforce import type ([dd76d5d](https://github.com/antfu/eslint-config/commit/dd76d5d8d9e0f016a00ab92f65cadb1655395c1c)) - - - - - -## [0.12.1](https://github.com/antfu/eslint-config/compare/v0.12.0...v0.12.1) (2021-12-05) - - -### Bug Fixes - -* rules ([6373bc7](https://github.com/antfu/eslint-config/commit/6373bc7ec95fd97379ee6b550148fa34f0611ace)) - - - - - -# [0.12.0](https://github.com/antfu/eslint-config/compare/v0.11.1...v0.12.0) (2021-12-04) - - -### Features - -* rules for tests ([2e07691](https://github.com/antfu/eslint-config/commit/2e07691eebc3d74bf0c9d8b14cedc7ef7c89fbfb)) - - - - - -# [0.11.0](https://github.com/antfu/eslint-config/compare/v0.10.0...v0.11.0) (2021-11-27) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16) - - -### Features - -* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81)) -* use yaml-eslint-parser ([#63](https://github.com/antfu/eslint-config/issues/63)) ([3b079f9](https://github.com/antfu/eslint-config/commit/3b079f94254639a6e9dc77b687350aaefcb7efe5)) - - - - - -# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14) - - -### Bug Fixes - -* improve rules for specific files ([d701469](https://github.com/antfu/eslint-config/commit/d701469a551b2321cab6d75bf18eb71d96dd6f2a)) - - - - - -## [0.8.1](https://github.com/antfu/eslint-config/compare/v0.8.0...v0.8.1) (2021-09-08) - - -### Bug Fixes - -* `eqeqeq` rule deprecated option allow-null ([#61](https://github.com/antfu/eslint-config/issues/61)) ([92c3e62](https://github.com/antfu/eslint-config/commit/92c3e62135d7a654f5de8a59f251f8a8e4a80686)) - - - - - -# [0.8.0](https://github.com/antfu/eslint-config/compare/v0.7.0...v0.8.0) (2021-09-07) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -# [0.7.0](https://github.com/antfu/eslint-config/compare/v0.6.6...v0.7.0) (2021-07-05) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -## [0.6.6](https://github.com/antfu/eslint-config/compare/v0.6.5...v0.6.6) (2021-06-11) - - -### Bug Fixes - -* no-console allow warn and error ([8dce7d1](https://github.com/antfu/eslint-config/commit/8dce7d171d81b5e5a74188fc74b24a90227fac5e)) - - - - - -## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09) - - -### Bug Fixes - -* `no-spaced-func` was deprecated in v3.3.0 ([#57](https://github.com/antfu/eslint-config/issues/57)) ([c968ecc](https://github.com/antfu/eslint-config/commit/c968eccbcda3f94fb8b66ed08051c41bde3acb48)) -* no-console ([ab21039](https://github.com/antfu/eslint-config/commit/ab21039962d1e24f026714abd394dbea19199eb2)) - - - - - -## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -## [0.6.2](https://github.com/antfu/eslint-config/compare/v0.6.1...v0.6.2) (2021-03-15) - - -### Bug Fixes - -* bring back eslint-plugin-html ([3150569](https://github.com/antfu/eslint-config/commit/31505698e4738ac77e074d6cddf89fd16b0ed01f)) - - - - - -## [0.6.1](https://github.com/antfu/eslint-config/compare/v0.6.0...v0.6.1) (2021-03-14) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -# [0.6.0](https://github.com/antfu/eslint-config/compare/v0.5.1...v0.6.0) (2021-03-14) - - -### Features - -* overhaul ([d11174c](https://github.com/antfu/eslint-config/commit/d11174c6ddfa6fad5c3f47564985a65f46f83bff)) - - - - - -## [0.5.1](https://github.com/antfu/eslint-config/compare/v0.5.0...v0.5.1) (2021-03-13) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13) - - -### Features - -* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3)) - - - - - -## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21) - - -### Bug Fixes - -* disable import/no-absolute-path ([245001d](https://github.com/antfu/eslint-config/commit/245001d08129b3ec4961741d596f70abb2c9be5f)) - - - - - -## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config-basic - - - - - -# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12) - - -### Features - -* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf)) - - - - - -## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18) - -**Note:** Version bump only for package @antfu/eslint-config - - - - - -## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.1.0 ([494d99c](https://github.com/antfu/eslint-config/commit/494d99c2bb52895a055cea7be9b50494a6a67358)) - - - - - -## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([ae3acb4](https://github.com/antfu/eslint-config/commit/ae3acb40f34fa117bb0afe6f9959daa5c0f9a197)) -* **deps:** update all non-major dependencies ([367c663](https://github.com/antfu/eslint-config/commit/367c663eb0eca976b2e932d5666b0e47f751a03c)) -* **deps:** update all non-major dependencies ([d938b1d](https://github.com/antfu/eslint-config/commit/d938b1d714e429f4dd4cce56b8b2c4cdee0de242)) -* **deps:** update all non-major dependencies ([8bda49a](https://github.com/antfu/eslint-config/commit/8bda49afb37d50c647995354cec4d11589eeef8f)) -* **deps:** update all non-major dependencies ([cd48d47](https://github.com/antfu/eslint-config/commit/cd48d476bfe63623b66d9d5107b794f3b2e73129)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.21.0 ([ae238f2](https://github.com/antfu/eslint-config/commit/ae238f275c17c8959274da007b60cae2f029b7d0)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.23.0 ([ae8dee6](https://github.com/antfu/eslint-config/commit/ae8dee603589f80410cb19a009a4f50a7daf5472)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.25.0 ([da8bfed](https://github.com/antfu/eslint-config/commit/da8bfed5c582940ebef807cc396a4c28de7135dd)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.26.0 ([9c66671](https://github.com/antfu/eslint-config/commit/9c666715c2eef912e343649875441a564486d5ec)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.27.0 ([dc00c77](https://github.com/antfu/eslint-config/commit/dc00c77075c87f8e49b39b32d44ca4fde0590731)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.28.0 ([e42c576](https://github.com/antfu/eslint-config/commit/e42c5767f6f9a9013286354ee238977b36bbbee2)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.29.0 ([5e65853](https://github.com/antfu/eslint-config/commit/5e6585335d4f7b88355a7430911c9712bcd20115)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.30.0 ([cabb099](https://github.com/antfu/eslint-config/commit/cabb0999cd95d63fd35b50a0073c324f54a621e5)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.31.0 ([2fb8855](https://github.com/antfu/eslint-config/commit/2fb885521b80ba72511b1005ad919ed148c99428)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.33.0 ([d857537](https://github.com/antfu/eslint-config/commit/d8575375f6505bfee4165dc33b1cd924b63fb15e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.0.2 ([214c0be](https://github.com/antfu/eslint-config/commit/214c0be0292d8b95d57d1fe0272ee7af7a130b78)) -* **deps:** update dependency eslint-plugin-unicorn to v16 ([8bb4687](https://github.com/antfu/eslint-config/commit/8bb46879d8beda646e06e558db6ea7489d0e02cc)) -* **deps:** update dependency eslint-plugin-unicorn to v17 ([9685653](https://github.com/antfu/eslint-config/commit/96856537cd165d553dc745b96332889daebf75a4)) -* **deps:** update dependency eslint-plugin-unicorn to v18 ([05334ab](https://github.com/antfu/eslint-config/commit/05334ab400e3a4d172251264c45faae1fcafd861)) -* **deps:** update dependency eslint-plugin-unicorn to v19 ([cbd45fd](https://github.com/antfu/eslint-config/commit/cbd45fdcf9d06cbcf66bd2c23510ac36b330941b)) -* **deps:** update dependency eslint-plugin-unicorn to v20 ([7a2af88](https://github.com/antfu/eslint-config/commit/7a2af88bd9935f58df3ac0b733642ec32fb9f722)) -* **deps:** update typescript-eslint monorepo to v3 ([ebb1820](https://github.com/antfu/eslint-config/commit/ebb18209d5c8417da41be7ca8b2b8658bd4ba1a5)) - - - - - -## [0.2.11](https://github.com/antfu/eslint-config/compare/v0.2.10...v0.2.11) (2020-01-30) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([faa9b11](https://github.com/antfu/eslint-config/commit/faa9b11d52d5d34a4c89917bb6b1aeaa8f7bbdb2)) -* **deps:** update dependency eslint-plugin-node to v11 ([#19](https://github.com/antfu/eslint-config/issues/19)) ([d37b5cc](https://github.com/antfu/eslint-config/commit/d37b5cc912b017eeca513a806a3f755c1094bafe)) -* **deps:** update dependency eslint-plugin-unicorn to v15 ([#18](https://github.com/antfu/eslint-config/issues/18)) ([b6c068c](https://github.com/antfu/eslint-config/commit/b6c068cf01539d2d94867664cbc54728fa99852e)) -* update ([ce7f9ec](https://github.com/antfu/eslint-config/commit/ce7f9ec9687fea47757e973344fd2068cc7e5a8f)) - - - - - -## [0.2.10](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.10) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) -* **deps:** update dependency eslint-plugin-unicorn to v14 ([#16](https://github.com/antfu/eslint-config/issues/16)) ([49f5108](https://github.com/antfu/eslint-config/commit/49f5108fb2144f6ccc5f6a15d1bc135542070168)) - - - - - - -## [0.2.9](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.9) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) -* **deps:** update dependency eslint-plugin-unicorn to v14 ([#16](https://github.com/antfu/eslint-config/issues/16)) ([49f5108](https://github.com/antfu/eslint-config/commit/49f5108fb2144f6ccc5f6a15d1bc135542070168)) - - - - - - -## [0.2.8](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.8) (2019-10-29) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.1.0 ([99a5c38](https://github.com/antfu/eslint-config/commit/99a5c38)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.3.1 ([8c12e7e](https://github.com/antfu/eslint-config/commit/8c12e7e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.5.0 ([#11](https://github.com/antfu/eslint-config/issues/11)) ([d5341a2](https://github.com/antfu/eslint-config/commit/d5341a2)) -* **deps:** update dependency eslint-config-standard to v14 ([d8d11aa](https://github.com/antfu/eslint-config/commit/d8d11aa)) -* **deps:** update dependency eslint-plugin-node to v10 ([2e4bef3](https://github.com/antfu/eslint-config/commit/2e4bef3)) -* **deps:** update dependency eslint-plugin-unicorn to v12 ([f565a2f](https://github.com/antfu/eslint-config/commit/f565a2f)) - - - - - - -## [0.2.7](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.7) (2019-10-29) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.1.0 ([99a5c38](https://github.com/antfu/eslint-config/commit/99a5c38)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.3.1 ([8c12e7e](https://github.com/antfu/eslint-config/commit/8c12e7e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.5.0 ([#11](https://github.com/antfu/eslint-config/issues/11)) ([d5341a2](https://github.com/antfu/eslint-config/commit/d5341a2)) -* **deps:** update dependency eslint-config-standard to v14 ([d8d11aa](https://github.com/antfu/eslint-config/commit/d8d11aa)) -* **deps:** update dependency eslint-plugin-node to v10 ([2e4bef3](https://github.com/antfu/eslint-config/commit/2e4bef3)) -* **deps:** update dependency eslint-plugin-unicorn to v12 ([f565a2f](https://github.com/antfu/eslint-config/commit/f565a2f)) - - - - - -## [0.2.6](https://github.com/antfu/eslint-config/compare/v0.2.5...v0.2.6) (2019-08-22) - - -### Bug Fixes - -* **deps:** update dependency eslint-plugin-unicorn to v10 ([b4b704f](https://github.com/antfu/eslint-config/commit/b4b704f)) -* **deps:** update typescript-eslint monorepo to v2 ([1f4250e](https://github.com/antfu/eslint-config/commit/1f4250e)) - - - - - -# [0.2.0](https://github.com/antfu/eslint-config/compare/v0.1.5...v0.2.0) (2019-07-17) - - -### Features - -* add ts config ([b025b09](https://github.com/antfu/eslint-config/commit/b025b09)) diff --git a/packages/basic/index.js b/packages/basic/index.js index d7e8a0fe2f..27e5a9a5ec 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -33,7 +33,7 @@ module.exports = { plugins: [ 'html', 'unicorn', - 'antfu', + 'ow3', ], settings: { 'import/resolver': { @@ -329,9 +329,9 @@ module.exports = { 'yml/quotes': ['error', { prefer: 'single', avoidEscape: false }], 'yml/no-empty-document': 'off', - // antfu - 'antfu/if-newline': 'error', - 'antfu/import-dedupe': 'error', - // 'antfu/prefer-inline-type-import': 'error', + // ow3 + 'ow3/if-newline': 'error', + 'ow3/import-dedupe': 'error', + // 'ow3/prefer-inline-type-import': 'error', }, } diff --git a/packages/basic/package.json b/packages/basic/package.json index 00fddf4dd4..e3202d34f1 100644 --- a/packages/basic/package.json +++ b/packages/basic/package.json @@ -1,10 +1,10 @@ { - "name": "@antfu/eslint-config-basic", - "version": "0.25.1", + "name": "@ow3/eslint-config-basic", + "version": "0.0.0", "description": "", - "author": "Anthony Fu (https://github.com/antfu/)", + "author": "Chris Breuer", "license": "MIT", - "homepage": "https://github.com/antfu/eslint-config", + "homepage": "https://github.com/openwebstacks/eslint-config", "keywords": [ "eslint-config" ], @@ -19,7 +19,7 @@ "eslint": ">=7.4.0" }, "dependencies": { - "eslint-plugin-antfu": "workspace:*", + "eslint-plugin-ow3": "workspace:*", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-html": "^6.2.0", "eslint-plugin-import": "^2.26.0", diff --git a/packages/eslint-plugin-antfu/.eslintrc.json b/packages/eslint-plugin-antfu/.eslintrc.json deleted file mode 100644 index 573a5dc04b..0000000000 --- a/packages/eslint-plugin-antfu/.eslintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "@antfu", - "plugins": [ - "antfu" - ] -} diff --git a/packages/eslint-plugin-ow3/.eslintrc.json b/packages/eslint-plugin-ow3/.eslintrc.json new file mode 100644 index 0000000000..c738470eed --- /dev/null +++ b/packages/eslint-plugin-ow3/.eslintrc.json @@ -0,0 +1,6 @@ +{ + "extends": "@ow3", + "plugins": [ + "ow3" + ] +} diff --git a/packages/eslint-plugin-antfu/build.config.ts b/packages/eslint-plugin-ow3/build.config.ts similarity index 100% rename from packages/eslint-plugin-antfu/build.config.ts rename to packages/eslint-plugin-ow3/build.config.ts diff --git a/packages/eslint-plugin-antfu/package.json b/packages/eslint-plugin-ow3/package.json similarity index 78% rename from packages/eslint-plugin-antfu/package.json rename to packages/eslint-plugin-ow3/package.json index 2c7e161b4f..a96af6b743 100644 --- a/packages/eslint-plugin-antfu/package.json +++ b/packages/eslint-plugin-ow3/package.json @@ -1,8 +1,8 @@ { - "name": "eslint-plugin-antfu", - "version": "0.25.1", + "name": "eslint-plugin-ow3", + "version": "0.0.0", "license": "MIT", - "homepage": "https://github.com/antfu/eslint-config", + "homepage": "https://github.com/openwebstacks/eslint-config", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/packages/eslint-plugin-antfu/src/index.ts b/packages/eslint-plugin-ow3/src/index.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/index.ts rename to packages/eslint-plugin-ow3/src/index.ts diff --git a/packages/eslint-plugin-antfu/src/rules/if-newline.test.ts b/packages/eslint-plugin-ow3/src/rules/if-newline.test.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/rules/if-newline.test.ts rename to packages/eslint-plugin-ow3/src/rules/if-newline.test.ts diff --git a/packages/eslint-plugin-antfu/src/rules/if-newline.ts b/packages/eslint-plugin-ow3/src/rules/if-newline.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/rules/if-newline.ts rename to packages/eslint-plugin-ow3/src/rules/if-newline.ts diff --git a/packages/eslint-plugin-antfu/src/rules/import-dedupe.test.ts b/packages/eslint-plugin-ow3/src/rules/import-dedupe.test.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/rules/import-dedupe.test.ts rename to packages/eslint-plugin-ow3/src/rules/import-dedupe.test.ts diff --git a/packages/eslint-plugin-antfu/src/rules/import-dedupe.ts b/packages/eslint-plugin-ow3/src/rules/import-dedupe.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/rules/import-dedupe.ts rename to packages/eslint-plugin-ow3/src/rules/import-dedupe.ts diff --git a/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.test.ts b/packages/eslint-plugin-ow3/src/rules/prefer-inline-type-import.test.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.test.ts rename to packages/eslint-plugin-ow3/src/rules/prefer-inline-type-import.test.ts diff --git a/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.ts b/packages/eslint-plugin-ow3/src/rules/prefer-inline-type-import.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.ts rename to packages/eslint-plugin-ow3/src/rules/prefer-inline-type-import.ts diff --git a/packages/eslint-plugin-antfu/src/utils.ts b/packages/eslint-plugin-ow3/src/utils.ts similarity index 100% rename from packages/eslint-plugin-antfu/src/utils.ts rename to packages/eslint-plugin-ow3/src/utils.ts diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md deleted file mode 100644 index eb15a66b1b..0000000000 --- a/packages/react/CHANGELOG.md +++ /dev/null @@ -1,400 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [0.19.1](https://github.com/antfu/eslint-config/compare/v0.19.0...v0.19.1) (2022-03-30) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.19.0](https://github.com/antfu/eslint-config/compare/v0.18.9...v0.19.0) (2022-03-29) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.9](https://github.com/antfu/eslint-config/compare/v0.18.8...v0.18.9) (2022-03-20) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.8](https://github.com/antfu/eslint-config/compare/v0.18.7...v0.18.8) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.7](https://github.com/antfu/eslint-config/compare/v0.18.6...v0.18.7) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.6](https://github.com/antfu/eslint-config/compare/v0.18.5...v0.18.6) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.3](https://github.com/antfu/eslint-config/compare/v0.18.2...v0.18.3) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.2](https://github.com/antfu/eslint-config/compare/v0.18.1...v0.18.2) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.18.1](https://github.com/antfu/eslint-config/compare/v0.18.0...v0.18.1) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.18.0](https://github.com/antfu/eslint-config/compare/v0.17.0...v0.18.0) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.17.0](https://github.com/antfu/eslint-config/compare/v0.16.1...v0.17.0) (2022-03-07) - - -### Features - -* update deps ([83a54e0](https://github.com/antfu/eslint-config/commit/83a54e07d5f1b93df726cbd8d81fb5abee5f60bc)) - - - - - -## [0.16.1](https://github.com/antfu/eslint-config/compare/v0.16.0...v0.16.1) (2022-01-27) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.16.0](https://github.com/antfu/eslint-config/compare/v0.15.0...v0.16.0) (2022-01-14) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.15.0](https://github.com/antfu/eslint-config/compare/v0.14.2...v0.15.0) (2022-01-06) - - -### Features - -* update ts rules ([13c90b5](https://github.com/antfu/eslint-config/commit/13c90b51504d098ea819dad29888fa5e12f11d3c)) - - - - - -## [0.14.2](https://github.com/antfu/eslint-config/compare/v0.14.1...v0.14.2) (2021-12-27) - - -### Bug Fixes - -* upgrade deps, close [#68](https://github.com/antfu/eslint-config/issues/68) ([7b71c78](https://github.com/antfu/eslint-config/commit/7b71c7852d3db3df05961893b4f085c16d95d274)) - - - - - -# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.12.2](https://github.com/antfu/eslint-config/compare/v0.12.1...v0.12.2) (2021-12-07) - - -### Bug Fixes - -* **react:** disable `react/react-in-jsx-scope` ([2ccdc6f](https://github.com/antfu/eslint-config/commit/2ccdc6f2a5850081a12a7484625745dfbb371cc9)) - - - - - -## [0.12.1](https://github.com/antfu/eslint-config/compare/v0.12.0...v0.12.1) (2021-12-05) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.12.0](https://github.com/antfu/eslint-config/compare/v0.11.1...v0.12.0) (2021-12-04) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.11.0](https://github.com/antfu/eslint-config/compare/v0.10.0...v0.11.0) (2021-11-27) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16) - - -### Features - -* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81)) - - - - - -# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.8.1](https://github.com/antfu/eslint-config/compare/v0.8.0...v0.8.1) (2021-09-08) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.8.0](https://github.com/antfu/eslint-config/compare/v0.7.0...v0.8.0) (2021-09-07) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.7.0](https://github.com/antfu/eslint-config/compare/v0.6.6...v0.7.0) (2021-07-05) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.6.6](https://github.com/antfu/eslint-config/compare/v0.6.5...v0.6.6) (2021-06-11) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.6.2](https://github.com/antfu/eslint-config/compare/v0.6.1...v0.6.2) (2021-03-15) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.6.1](https://github.com/antfu/eslint-config/compare/v0.6.0...v0.6.1) (2021-03-14) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.6.0](https://github.com/antfu/eslint-config/compare/v0.5.1...v0.6.0) (2021-03-14) - - -### Features - -* overhaul ([d11174c](https://github.com/antfu/eslint-config/commit/d11174c6ddfa6fad5c3f47564985a65f46f83bff)) - - - - - -## [0.5.1](https://github.com/antfu/eslint-config/compare/v0.5.0...v0.5.1) (2021-03-13) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13) - - -### Features - -* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3)) - - - - - -## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config-react - - - - - -# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12) - - -### Features - -* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf)) diff --git a/packages/react/index.js b/packages/react/index.js index 9762ac1417..f281de1399 100644 --- a/packages/react/index.js +++ b/packages/react/index.js @@ -1,7 +1,7 @@ module.exports = { extends: [ 'plugin:react/recommended', - '@antfu/eslint-config-ts', + '@ow3/eslint-config-ts', ], settings: { react: { diff --git a/packages/react/package.json b/packages/react/package.json index c226ad9524..ff5308f811 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,10 +1,10 @@ { - "name": "@antfu/eslint-config-react", - "version": "0.25.1", + "name": "@ow3/eslint-config-react", + "version": "0.0.0", "description": "", - "author": "Anthony Fu (https://github.com/antfu/)", + "author": "Anthony Fu (https://github.com/openwebstacks/eslint-config/)", "license": "MIT", - "homepage": "https://github.com/antfu/eslint-config", + "homepage": "https://github.com/openwebstacks/eslint-config", "keywords": [ "eslint-config" ], @@ -19,7 +19,7 @@ "eslint": ">=7.4.0" }, "dependencies": { - "@antfu/eslint-config-ts": "workspace:*", + "@ow3/eslint-config-ts": "workspace:*", "eslint-plugin-react": "^7.30.0" }, "devDependencies": { diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md deleted file mode 100644 index ea99147565..0000000000 --- a/packages/typescript/CHANGELOG.md +++ /dev/null @@ -1,584 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [0.19.1](https://github.com/antfu/eslint-config/compare/v0.19.0...v0.19.1) (2022-03-30) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.19.0](https://github.com/antfu/eslint-config/compare/v0.18.9...v0.19.0) (2022-03-29) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.9](https://github.com/antfu/eslint-config/compare/v0.18.8...v0.18.9) (2022-03-20) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.8](https://github.com/antfu/eslint-config/compare/v0.18.7...v0.18.8) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.7](https://github.com/antfu/eslint-config/compare/v0.18.6...v0.18.7) (2022-03-10) - - -### Features - -* improve `no-unused-vars` rule ([2e962a2](https://github.com/antfu/eslint-config/commit/2e962a278571113853435221e8c3d43bd9fa1421)) - - - - - -## [0.18.6](https://github.com/antfu/eslint-config/compare/v0.18.5...v0.18.6) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.3](https://github.com/antfu/eslint-config/compare/v0.18.2...v0.18.3) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.2](https://github.com/antfu/eslint-config/compare/v0.18.1...v0.18.2) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.18.1](https://github.com/antfu/eslint-config/compare/v0.18.0...v0.18.1) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.18.0](https://github.com/antfu/eslint-config/compare/v0.17.0...v0.18.0) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.17.0](https://github.com/antfu/eslint-config/compare/v0.16.1...v0.17.0) (2022-03-07) - - -### Features - -* update deps ([83a54e0](https://github.com/antfu/eslint-config/commit/83a54e07d5f1b93df726cbd8d81fb5abee5f60bc)) - - - - - -## [0.16.1](https://github.com/antfu/eslint-config/compare/v0.16.0...v0.16.1) (2022-01-27) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.16.0](https://github.com/antfu/eslint-config/compare/v0.15.0...v0.16.0) (2022-01-14) - - -### Features - -* upgrade eslint-config-standard ([d33ec89](https://github.com/antfu/eslint-config/commit/d33ec89b7619895cf1541e597e0cb664f69fc95f)) - - - - - -# [0.15.0](https://github.com/antfu/eslint-config/compare/v0.14.2...v0.15.0) (2022-01-06) - - -### Features - -* update ts rules ([13c90b5](https://github.com/antfu/eslint-config/commit/13c90b51504d098ea819dad29888fa5e12f11d3c)) - - - - - -## [0.14.2](https://github.com/antfu/eslint-config/compare/v0.14.1...v0.14.2) (2021-12-27) - - -### Bug Fixes - -* upgrade deps, close [#68](https://github.com/antfu/eslint-config/issues/68) ([7b71c78](https://github.com/antfu/eslint-config/commit/7b71c7852d3db3df05961893b4f085c16d95d274)) - - - - - -# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12) - - -### Bug Fixes - -* `no-use-before-define` for functions ([0722603](https://github.com/antfu/eslint-config/commit/0722603cfee659abab80e9e7f30a8112702ccc12)) - - - - - -# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12) - - -### Features - -* update ts rules, enforce import type ([dd76d5d](https://github.com/antfu/eslint-config/commit/dd76d5d8d9e0f016a00ab92f65cadb1655395c1c)) - - - - - -## [0.12.1](https://github.com/antfu/eslint-config/compare/v0.12.0...v0.12.1) (2021-12-05) - - -### Bug Fixes - -* rules ([6373bc7](https://github.com/antfu/eslint-config/commit/6373bc7ec95fd97379ee6b550148fa34f0611ace)) - - - - - -# [0.12.0](https://github.com/antfu/eslint-config/compare/v0.11.1...v0.12.0) (2021-12-04) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.11.0](https://github.com/antfu/eslint-config/compare/v0.10.0...v0.11.0) (2021-11-27) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16) - - -### Features - -* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81)) - - - - - -# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13) - - -### Bug Fixes - -* disable rules ([dcb4a67](https://github.com/antfu/eslint-config/commit/dcb4a67de26a19376ae0db67e14663cbb355680d)) - - - - - -## [0.8.1](https://github.com/antfu/eslint-config/compare/v0.8.0...v0.8.1) (2021-09-08) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.8.0](https://github.com/antfu/eslint-config/compare/v0.7.0...v0.8.0) (2021-09-07) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.7.0](https://github.com/antfu/eslint-config/compare/v0.6.6...v0.7.0) (2021-07-05) - - -### Bug Fixes - -* typescript-eslint conflict with indent rule ([#59](https://github.com/antfu/eslint-config/issues/59)) ([5bc11e4](https://github.com/antfu/eslint-config/commit/5bc11e42e69d00c3b4be279338ae14a65b4886e5)) - - - - - -## [0.6.6](https://github.com/antfu/eslint-config/compare/v0.6.5...v0.6.6) (2021-06-11) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19) - - -### Bug Fixes - -* overrides ([8f3f8f5](https://github.com/antfu/eslint-config/commit/8f3f8f5a42e1864b42ba7b276b1e8efdb2e80e27)) - - - - - -## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) - - -### Bug Fixes - -* eslint-basic rules do not take effect ([#56](https://github.com/antfu/eslint-config/issues/56)) ([412d848](https://github.com/antfu/eslint-config/commit/412d8480d951e8361dda69be8a7e8722c255b755)) - - - - - -## [0.6.2](https://github.com/antfu/eslint-config/compare/v0.6.1...v0.6.2) (2021-03-15) - - -### Bug Fixes - -* only disable no-unused-vars on vue file ([6759593](https://github.com/antfu/eslint-config/commit/67595932e447824837d9776204c9b559cb06a185)) - - - - - -## [0.6.1](https://github.com/antfu/eslint-config/compare/v0.6.0...v0.6.1) (2021-03-14) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.6.0](https://github.com/antfu/eslint-config/compare/v0.5.1...v0.6.0) (2021-03-14) - - -### Features - -* overhaul ([d11174c](https://github.com/antfu/eslint-config/commit/d11174c6ddfa6fad5c3f47564985a65f46f83bff)) - - - - - -## [0.5.1](https://github.com/antfu/eslint-config/compare/v0.5.0...v0.5.1) (2021-03-13) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13) - - -### Features - -* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3)) - - - - - -## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) - - -### Bug Fixes - -* ref ([e53f3ec](https://github.com/antfu/eslint-config/commit/e53f3ec8dbc1cc3e32d57c08604b2b1d51661ca4)) - - - - - -# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([f82ee6f](https://github.com/antfu/eslint-config/commit/f82ee6fce9153f098c8fbbeef17f88261e08176f)) -* **deps:** update all non-major dependencies ([2243bf6](https://github.com/antfu/eslint-config/commit/2243bf67fac0f75c1a4e35c604f49ebb2092d960)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.7.0 ([3a6b4ea](https://github.com/antfu/eslint-config/commit/3a6b4ea59ec8b9a4d75452ae1f6fd2c51d96b242)) - - -### Features - -* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf)) - - - - - -## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18) - -**Note:** Version bump only for package @antfu/eslint-config-ts - - - - - -## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.1.0 ([494d99c](https://github.com/antfu/eslint-config/commit/494d99c2bb52895a055cea7be9b50494a6a67358)) - - - - - -## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([ae3acb4](https://github.com/antfu/eslint-config/commit/ae3acb40f34fa117bb0afe6f9959daa5c0f9a197)) -* **deps:** update all non-major dependencies ([367c663](https://github.com/antfu/eslint-config/commit/367c663eb0eca976b2e932d5666b0e47f751a03c)) -* **deps:** update all non-major dependencies ([d938b1d](https://github.com/antfu/eslint-config/commit/d938b1d714e429f4dd4cce56b8b2c4cdee0de242)) -* **deps:** update all non-major dependencies ([8bda49a](https://github.com/antfu/eslint-config/commit/8bda49afb37d50c647995354cec4d11589eeef8f)) -* **deps:** update all non-major dependencies ([cd48d47](https://github.com/antfu/eslint-config/commit/cd48d476bfe63623b66d9d5107b794f3b2e73129)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.21.0 ([ae238f2](https://github.com/antfu/eslint-config/commit/ae238f275c17c8959274da007b60cae2f029b7d0)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.23.0 ([ae8dee6](https://github.com/antfu/eslint-config/commit/ae8dee603589f80410cb19a009a4f50a7daf5472)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.25.0 ([da8bfed](https://github.com/antfu/eslint-config/commit/da8bfed5c582940ebef807cc396a4c28de7135dd)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.26.0 ([9c66671](https://github.com/antfu/eslint-config/commit/9c666715c2eef912e343649875441a564486d5ec)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.27.0 ([dc00c77](https://github.com/antfu/eslint-config/commit/dc00c77075c87f8e49b39b32d44ca4fde0590731)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.28.0 ([e42c576](https://github.com/antfu/eslint-config/commit/e42c5767f6f9a9013286354ee238977b36bbbee2)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.29.0 ([5e65853](https://github.com/antfu/eslint-config/commit/5e6585335d4f7b88355a7430911c9712bcd20115)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.30.0 ([cabb099](https://github.com/antfu/eslint-config/commit/cabb0999cd95d63fd35b50a0073c324f54a621e5)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.31.0 ([2fb8855](https://github.com/antfu/eslint-config/commit/2fb885521b80ba72511b1005ad919ed148c99428)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.33.0 ([d857537](https://github.com/antfu/eslint-config/commit/d8575375f6505bfee4165dc33b1cd924b63fb15e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.0.2 ([214c0be](https://github.com/antfu/eslint-config/commit/214c0be0292d8b95d57d1fe0272ee7af7a130b78)) -* **deps:** update typescript-eslint monorepo to v3 ([ebb1820](https://github.com/antfu/eslint-config/commit/ebb18209d5c8417da41be7ca8b2b8658bd4ba1a5)) - - - - - -## [0.2.11](https://github.com/antfu/eslint-config/compare/v0.2.10...v0.2.11) (2020-01-30) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([faa9b11](https://github.com/antfu/eslint-config/commit/faa9b11d52d5d34a4c89917bb6b1aeaa8f7bbdb2)) - - - - - -## [0.2.10](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.10) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) - - - - - - -## [0.2.9](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.9) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) - - - - - - -## [0.2.8](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.8) (2019-10-29) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.1.0 ([99a5c38](https://github.com/antfu/eslint-config/commit/99a5c38)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.3.1 ([8c12e7e](https://github.com/antfu/eslint-config/commit/8c12e7e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.5.0 ([#11](https://github.com/antfu/eslint-config/issues/11)) ([d5341a2](https://github.com/antfu/eslint-config/commit/d5341a2)) - - - - - - -## [0.2.7](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.7) (2019-10-29) - - -### Bug Fixes - -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.1.0 ([99a5c38](https://github.com/antfu/eslint-config/commit/99a5c38)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.3.1 ([8c12e7e](https://github.com/antfu/eslint-config/commit/8c12e7e)) -* **deps:** update dependency @typescript-eslint/eslint-plugin to v2.5.0 ([#11](https://github.com/antfu/eslint-config/issues/11)) ([d5341a2](https://github.com/antfu/eslint-config/commit/d5341a2)) - - - - - -## [0.2.6](https://github.com/antfu/eslint-config/compare/v0.2.5...v0.2.6) (2019-08-22) - - -### Bug Fixes - -* **deps:** update typescript-eslint monorepo to v2 ([1f4250e](https://github.com/antfu/eslint-config/commit/1f4250e)) -* update ts config ([0a2b8cd](https://github.com/antfu/eslint-config/commit/0a2b8cd)) - - - - - -## [0.2.2](https://github.com/antfu/eslint-config/compare/v0.2.1...v0.2.2) (2019-07-19) - - -### Bug Fixes - -* update ts rules ([5d507f1](https://github.com/antfu/eslint-config/commit/5d507f1)) - - - - - -## [0.2.1](https://github.com/antfu/eslint-config/compare/v0.2.0...v0.2.1) (2019-07-17) - - -### Bug Fixes - -* extends order ([0b40222](https://github.com/antfu/eslint-config/commit/0b40222)) - - - - - -# [0.2.0](https://github.com/antfu/eslint-config/compare/v0.1.5...v0.2.0) (2019-07-17) - - -### Features - -* add ts config ([b025b09](https://github.com/antfu/eslint-config/commit/b025b09)) diff --git a/packages/typescript/index.js b/packages/typescript/index.js index 1521e343f7..894a1128b6 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -1,8 +1,8 @@ -const basic = require('@antfu/eslint-config-basic') +const basic = require('@ow3/eslint-config-basic') module.exports = { extends: [ - '@antfu/eslint-config-basic', + '@ow3/eslint-config-basic', 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', ], diff --git a/packages/typescript/package.json b/packages/typescript/package.json index dfa8442d23..56bdfa1323 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,10 +1,10 @@ { - "name": "@antfu/eslint-config-ts", - "version": "0.25.1", + "name": "@ow3/eslint-config-ts", + "version": "0.0.0", "description": "", - "author": "Anthony Fu (https://github.com/antfu/)", + "author": "Anthony Fu (https://github.com/openwebstacks/eslint-config/)", "license": "MIT", - "homepage": "https://github.com/antfu/eslint-config", + "homepage": "https://github.com/openwebstacks/eslint-config", "keywords": [ "eslint-config" ], @@ -17,7 +17,7 @@ "typescript": ">=3.9" }, "dependencies": { - "@antfu/eslint-config-basic": "workspace:*", + "@ow3/eslint-config-basic": "workspace:*", "@typescript-eslint/eslint-plugin": "^5.26.0", "@typescript-eslint/parser": "^5.26.0" }, diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md deleted file mode 100644 index 20a1d6311a..0000000000 --- a/packages/vue/CHANGELOG.md +++ /dev/null @@ -1,587 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [0.19.1](https://github.com/antfu/eslint-config/compare/v0.19.0...v0.19.1) (2022-03-30) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.19.0](https://github.com/antfu/eslint-config/compare/v0.18.9...v0.19.0) (2022-03-29) - - -### Features - -* vue sfc tags order ([d4538f4](https://github.com/antfu/eslint-config/commit/d4538f42b14d0f7c824795945ffa556d585ceb06)) - - - - - -## [0.18.9](https://github.com/antfu/eslint-config/compare/v0.18.8...v0.18.9) (2022-03-20) - - -### Bug Fixes - -* **vue:** disable `vue/no-setup-props-destructure` ([0a1f8c5](https://github.com/antfu/eslint-config/commit/0a1f8c56124ac1735e7b26879ac3e6ab9289ca74)) - - - - - -## [0.18.8](https://github.com/antfu/eslint-config/compare/v0.18.7...v0.18.8) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.18.7](https://github.com/antfu/eslint-config/compare/v0.18.6...v0.18.7) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.18.6](https://github.com/antfu/eslint-config/compare/v0.18.5...v0.18.6) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.18.3](https://github.com/antfu/eslint-config/compare/v0.18.2...v0.18.3) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.18.2](https://github.com/antfu/eslint-config/compare/v0.18.1...v0.18.2) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.18.1](https://github.com/antfu/eslint-config/compare/v0.18.0...v0.18.1) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.18.0](https://github.com/antfu/eslint-config/compare/v0.17.0...v0.18.0) (2022-03-07) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.17.0](https://github.com/antfu/eslint-config/compare/v0.16.1...v0.17.0) (2022-03-07) - - -### Features - -* update deps ([83a54e0](https://github.com/antfu/eslint-config/commit/83a54e07d5f1b93df726cbd8d81fb5abee5f60bc)) - - - - - -## [0.16.1](https://github.com/antfu/eslint-config/compare/v0.16.0...v0.16.1) (2022-01-27) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.16.0](https://github.com/antfu/eslint-config/compare/v0.15.0...v0.16.0) (2022-01-14) - - -### Features - -* upgrade eslint-config-standard ([d33ec89](https://github.com/antfu/eslint-config/commit/d33ec89b7619895cf1541e597e0cb664f69fc95f)) - - - - - -# [0.15.0](https://github.com/antfu/eslint-config/compare/v0.14.2...v0.15.0) (2022-01-06) - - -### Features - -* update ts rules ([13c90b5](https://github.com/antfu/eslint-config/commit/13c90b51504d098ea819dad29888fa5e12f11d3c)) - - - - - -## [0.14.2](https://github.com/antfu/eslint-config/compare/v0.14.1...v0.14.2) (2021-12-27) - - -### Bug Fixes - -* upgrade deps, close [#68](https://github.com/antfu/eslint-config/issues/68) ([7b71c78](https://github.com/antfu/eslint-config/commit/7b71c7852d3db3df05961893b4f085c16d95d274)) - - - - - -## [0.14.1](https://github.com/antfu/eslint-config/compare/v0.14.0...v0.14.1) (2021-12-27) - - -### Bug Fixes - -* disable vue attrs wrap ([46e9ea3](https://github.com/antfu/eslint-config/commit/46e9ea35b9ba4d112cdd0290f0f3cd0309c79416)) - - - - - -# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.12.1](https://github.com/antfu/eslint-config/compare/v0.12.0...v0.12.1) (2021-12-05) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.12.0](https://github.com/antfu/eslint-config/compare/v0.11.1...v0.12.0) (2021-12-04) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.11.1](https://github.com/antfu/eslint-config/compare/v0.11.0...v0.11.1) (2021-11-27) - - -### Bug Fixes - -* **vue:** disable `vue/multi-word-component-names` ([eb76d9b](https://github.com/antfu/eslint-config/commit/eb76d9b8bb2dd09ee8baaeec9c4e8610377e9e73)) - - - - - -# [0.11.0](https://github.com/antfu/eslint-config/compare/v0.10.0...v0.11.0) (2021-11-27) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16) - - -### Features - -* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81)) - - - - - -# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13) - - -### Bug Fixes - -* disable rules ([dcb4a67](https://github.com/antfu/eslint-config/commit/dcb4a67de26a19376ae0db67e14663cbb355680d)) - - - - - -## [0.8.1](https://github.com/antfu/eslint-config/compare/v0.8.0...v0.8.1) (2021-09-08) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.8.0](https://github.com/antfu/eslint-config/compare/v0.7.0...v0.8.0) (2021-09-07) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.7.0](https://github.com/antfu/eslint-config/compare/v0.6.6...v0.7.0) (2021-07-05) - - -### Bug Fixes - -* disable `no-undef` for vue files ([46a8d7a](https://github.com/antfu/eslint-config/commit/46a8d7acdee3a99d6838bf427c6fd2b133f70ddc)) - - - - - -## [0.6.6](https://github.com/antfu/eslint-config/compare/v0.6.5...v0.6.6) (2021-06-11) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.6.2](https://github.com/antfu/eslint-config/compare/v0.6.1...v0.6.2) (2021-03-15) - - -### Bug Fixes - -* only disable no-unused-vars on vue file ([6759593](https://github.com/antfu/eslint-config/commit/67595932e447824837d9776204c9b559cb06a185)) - - - - - -## [0.6.1](https://github.com/antfu/eslint-config/compare/v0.6.0...v0.6.1) (2021-03-14) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.6.0](https://github.com/antfu/eslint-config/compare/v0.5.1...v0.6.0) (2021-03-14) - - -### Features - -* overhaul ([d11174c](https://github.com/antfu/eslint-config/commit/d11174c6ddfa6fad5c3f47564985a65f46f83bff)) - - - - - -## [0.5.1](https://github.com/antfu/eslint-config/compare/v0.5.0...v0.5.1) (2021-03-13) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13) - - -### Features - -* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3)) - - - - - -## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([f82ee6f](https://github.com/antfu/eslint-config/commit/f82ee6fce9153f098c8fbbeef17f88261e08176f)) -* **deps:** update all non-major dependencies ([2243bf6](https://github.com/antfu/eslint-config/commit/2243bf67fac0f75c1a4e35c604f49ebb2092d960)) -* **deps:** update dependency eslint-plugin-vue to v7.0.0-beta.0 ([e0b59f2](https://github.com/antfu/eslint-config/commit/e0b59f271fa3c679e5c4a7d61b5af79cef37721f)) - - -### Features - -* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf)) - - - - - -## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([ae3acb4](https://github.com/antfu/eslint-config/commit/ae3acb40f34fa117bb0afe6f9959daa5c0f9a197)) -* **deps:** update all non-major dependencies ([367c663](https://github.com/antfu/eslint-config/commit/367c663eb0eca976b2e932d5666b0e47f751a03c)) -* **deps:** update all non-major dependencies ([d938b1d](https://github.com/antfu/eslint-config/commit/d938b1d714e429f4dd4cce56b8b2c4cdee0de242)) -* **deps:** update all non-major dependencies ([8bda49a](https://github.com/antfu/eslint-config/commit/8bda49afb37d50c647995354cec4d11589eeef8f)) -* **deps:** update all non-major dependencies ([cd48d47](https://github.com/antfu/eslint-config/commit/cd48d476bfe63623b66d9d5107b794f3b2e73129)) -* **deps:** update dependency eslint-plugin-nuxt to v1 ([f5d6ebd](https://github.com/antfu/eslint-config/commit/f5d6ebda7cfa17ad8992e1ccc4fd9be020711375)) - - - - - -## [0.2.11](https://github.com/antfu/eslint-config/compare/v0.2.10...v0.2.11) (2020-01-30) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([faa9b11](https://github.com/antfu/eslint-config/commit/faa9b11d52d5d34a4c89917bb6b1aeaa8f7bbdb2)) - - - - - -## [0.2.10](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.10) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) -* **deps:** update dependency eslint-plugin-vue to v6 ([#13](https://github.com/antfu/eslint-config/issues/13)) ([5d0daca](https://github.com/antfu/eslint-config/commit/5d0dacae0af218e30868fcfb7b60afd6dbeda45b)) - - - - - - -## [0.2.9](https://github.com/antfu/eslint-config/compare/v0.2.8...v0.2.9) (2019-12-11) - - -### Bug Fixes - -* **deps:** update all non-major dependencies ([#12](https://github.com/antfu/eslint-config/issues/12)) ([e09cd41](https://github.com/antfu/eslint-config/commit/e09cd415f12fa1afe18430c50f6b72189700aa8c)) -* **deps:** update all non-major dependencies ([#14](https://github.com/antfu/eslint-config/issues/14)) ([0583881](https://github.com/antfu/eslint-config/commit/05838817541d500e3aab0e215f879c1c7ceb7ced)) -* **deps:** update dependency eslint-plugin-vue to v6 ([#13](https://github.com/antfu/eslint-config/issues/13)) ([5d0daca](https://github.com/antfu/eslint-config/commit/5d0dacae0af218e30868fcfb7b60afd6dbeda45b)) - - - - - - -## [0.2.8](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.8) (2019-10-29) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - - -## [0.2.7](https://github.com/antfu/eslint-config/compare/v0.2.6...v0.2.7) (2019-10-29) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.2.6](https://github.com/antfu/eslint-config/compare/v0.2.5...v0.2.6) (2019-08-22) - -**Note:** Version bump only for package @antfu/eslint-config-vue - - - - - -## [0.2.5](https://github.com/antfu/eslint-config/compare/v0.2.4...v0.2.5) (2019-07-19) - - -### Bug Fixes - -* vue ([be4d232](https://github.com/antfu/eslint-config/commit/be4d232)) - - - - - -## [0.2.4](https://github.com/antfu/eslint-config/compare/v0.2.3...v0.2.4) (2019-07-19) - - -### Bug Fixes - -* vue deps ([03b3d7a](https://github.com/antfu/eslint-config/commit/03b3d7a)) - - - - - -## [0.2.3](https://github.com/antfu/eslint-config/compare/v0.2.2...v0.2.3) (2019-07-19) - - -### Bug Fixes - -* update vue config ([cbf7bca](https://github.com/antfu/eslint-config/commit/cbf7bca)) - - - - - -## [0.2.1](https://github.com/antfu/eslint-config/compare/v0.2.0...v0.2.1) (2019-07-17) - - -### Bug Fixes - -* extends order ([0b40222](https://github.com/antfu/eslint-config/commit/0b40222)) - - - - - -# [0.2.0](https://github.com/antfu/eslint-config/compare/v0.1.5...v0.2.0) (2019-07-17) - - -### Features - -* add ts config ([b025b09](https://github.com/antfu/eslint-config/commit/b025b09)) diff --git a/packages/vue/index.js b/packages/vue/index.js index cba50c0e66..ab0ad16e03 100644 --- a/packages/vue/index.js +++ b/packages/vue/index.js @@ -15,10 +15,20 @@ module.exports = { ], extends: [ 'plugin:vue/vue3-recommended', - '@antfu/eslint-config-ts', + '@ow3/eslint-config-ts', ], rules: { - 'vue/max-attributes-per-line': 'off', + "vue/max-attributes-per-line": [ + "error", + { + "singleline": { + "max": 1 + }, + "multiline": { + "max": 1 + } + } + ], 'vue/no-v-html': 'off', 'vue/require-prop-types': 'off', 'vue/require-default-prop': 'off', diff --git a/packages/vue/package.json b/packages/vue/package.json index 76dee6941a..221c54258b 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,8 +1,8 @@ { - "name": "@antfu/eslint-config-vue", - "version": "0.25.1", + "name": "@ow3/eslint-config-vue", + "version": "0.0.0", "description": "", - "author": "Anthony Fu (https://github.com/antfu/)", + "author": "Chris Breuer", "license": "MIT", "keywords": [ "eslint-config" @@ -15,7 +15,7 @@ "eslint": ">=7.4.0" }, "dependencies": { - "@antfu/eslint-config-ts": "workspace:*", + "@ow3/eslint-config-ts": "workspace:*", "eslint-plugin-vue": "^9.0.1" }, "devDependencies": {