From 87beb0cf6c8429b9e8abc36c130cb843efdb65c7 Mon Sep 17 00:00:00 2001 From: YAMADA Naoki Date: Wed, 12 Feb 2025 18:54:20 +0900 Subject: [PATCH] fix(eslint-config): Fix the repository url (#365) fix(eslint-config): Fix the repository url fix(eslint-config): Fix the repository url --- .github/CONTRIBUTING.md | 12 +++++++----- .github/PULL_REQUEST_TEMPLATE.md | 2 +- LICENSE | 21 +++++++++++++++++++++ packages/eslint-config/README.md | 6 +++--- packages/eslint-config/package.json | 2 +- 5 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 LICENSE diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 05ab4da..a635888 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -I appreciate your considering contributing `eslint-config-moneyforward`. This document is a guide to help make your contribution easier. +I appreciate your considering contributing `frontend-tools`. This document is a guide to help make your contribution easier. ## Getting Started @@ -34,12 +34,12 @@ The main scripts used during development are: ### Reporting Issues -1. Check [the Issue Tracker](https://github.com/moneyforward/eslint-config-moneyforward/issues) for existing issues. -2. When requesting a new issue or feature, please use [the templates](https://github.com/moneyforward/eslint-config-moneyforward/issues/new/choose) and provide as much detail as possible. +1. Check [the Issue Tracker](https://github.com/moneyforward/frontend-tools/issues) for existing issues. +2. When requesting a new issue or feature, please use [the templates](https://github.com/moneyforward/frontend-tools/issues/new/choose) and provide as much detail as possible. ### Development -1. Check [the Issue Tracker](https://github.com/moneyforward/eslint-config-moneyforward/issues), make sure if there is anything relevant to the problem you are trying to solve. +1. Check [the Issue Tracker](https://github.com/moneyforward/frontend-tools/issues), make sure if there is anything relevant to the problem you are trying to solve. 2. Keep the repository you did fork up to date. ```bash @@ -79,7 +79,9 @@ The main scripts used during development are: ### Code Style -- Code according to [ESlint](/.eslintrc.js) and [Prettier](/.prettierrc.js) rules. +- Code according to[Prettier](/prettier.config.js) and the following ESLint rules: + - **eslint-config-moneyforward**: [eslint.config.mjs](/packages/eslint-config/eslint.config.mjs) + - **@moneyforward/stylelint-config**: [stylelint.config.js](/packages/stylelint-config/eslint.config.js) - Keep your code in a consistent style. ### Testing diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b3aaff6..e83f177 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,7 @@ ## Pre-flight checklist -- [ ] I have read the [Contributing Guidelines](https://github.com/moneyforward/eslint-config-moneyforward/blob/main/.github/CONTRIBUTING.md) +- [ ] I have read the [Contributing Guidelines](https://github.com/moneyforward/frontend-tools/blob/main/.github/CONTRIBUTING.md) - [ ] Performed a self-review of my code ## References diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dd72fc7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Money Forward, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/eslint-config/README.md b/packages/eslint-config/README.md index ffb2503..2664056 100644 --- a/packages/eslint-config/README.md +++ b/packages/eslint-config/README.md @@ -1,7 +1,7 @@ # eslint-config-moneyforward [![Version](https://img.shields.io/npm/v/eslint-config-moneyforward.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-moneyforward?activeTab=versions) -[![License](https://img.shields.io/github/license/moneyforward/eslint-config-moneyforward.svg?style=flat-square)](https://github.com/moneyforward/eslint-config-moneyforward/blob/main/LICENSE) +[![License](https://img.shields.io/github/license/moneyforward/frontend-tools.svg?style=flat-square)](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config/LICENSE) This package provides moneyforward's `.eslintrc` as an extensible shared config. @@ -180,8 +180,8 @@ npm uninstall eslint-plugin-promise eslint-plugin-import eslint-plugin-unicorn \ ## Troubleshooting -- [ESLint Configuration Issue with Non-Standard TSConfig Filenames in Flat Config](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config-moneyforward/docs/troubleshooting/eslint-configuration-issue-with-non-standard-tsconfig-filenames-in-flat-config.md) +- [ESLint Configuration Issue with Non-Standard TSConfig Filenames in Flat Config](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config/docs/troubleshooting/eslint-configuration-issue-with-non-standard-tsconfig-filenames-in-flat-config.md) ## License -Open sourceĀ [licensed as MIT](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config-moneyforward/LICENSE). +Open sourceĀ [licensed as MIT](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config/LICENSE). diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 9dbabcd..beb4baf 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -46,7 +46,7 @@ "bugs": { "url": "https://github.com/moneyforward/frontend-tools/issues" }, - "homepage": "https://github.com/moneyforward/frontend-tools/tree/main/packages/eslint-config-moneyforward#readme", + "homepage": "https://github.com/moneyforward/frontend-tools/tree/main/packages/eslint-config#readme", "dependencies": { "@next/eslint-plugin-next": "^15.0.3", "@typescript-eslint/eslint-plugin": "^8.16.0",