Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: lint 等の対象となるファイルを格納するディレクトリを tests から src に変更 #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions bases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

## 構成


```txt
bases/
[tools]/
[use-case]/
tests/
src/
package.json
README.md
```
Expand All @@ -26,7 +25,7 @@ bases/
ユースケース毎のコンフィグを配置する。
`[use-case]` は、ユースケースに合わせた名称を半角英数と `-` で記載する。

### `bases/[tools]/[use-case]/tests/`
### `bases/[tools]/[use-case]/src/`

利用するツールのコンフィグを検証するためのコードを配置する。

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions bases/eslint-prettier/eslint-v8-nextjs/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ const config = {
*/
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"next/core-web-vitals",
// @next/eslint-plugin-import 内部で `plugins` に指定されている eslint-plugin-import と conflict しないように eslint-plugin-import 関連の config は後に指定
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
// tailwindcss を利用しないプロジェクトでは、以下は削除する
"plugin:tailwindcss/recommended",
"next/core-web-vitals",
"prettier",
],
parser: "@typescript-eslint/parser",
Expand Down
Loading