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

Package update #31

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
01f6bcc
React, React-routerのバージョンアップ
yukinko05 Aug 30, 2024
8e1787b
useHistoryをuseNavigateに書き換える
yukinko05 Aug 30, 2024
7e0be65
RedirectをNavigateに修正
yukinko05 Aug 30, 2024
cd96654
SwitchをRoutesに修正
yukinko05 Aug 30, 2024
2fe02d7
Routeコンポーネントを修正
yukinko05 Aug 30, 2024
db931ef
errorMessageのstate名が誤字っていたので修正
yukinko05 Aug 30, 2024
49923e4
ReactDOMをcreateRootに修正
yukinko05 Aug 30, 2024
b5b4121
React, React-routerのバージョンアップ時のコミット漏れ
yukinko05 Aug 30, 2024
4838e0d
ESLintをインストール
yukinko05 Aug 30, 2024
5bfd1d3
Prettierをインストール
yukinko05 Aug 30, 2024
0addf52
prettierをscriptsから実行できるようにした
yukinko05 Aug 30, 2024
9a2f83b
フォーマットの実行
yukinko05 Aug 30, 2024
6bf7e14
ESLintとPrettierインストール時のコミット漏れ
yukinko05 Aug 30, 2024
c984f7c
ESLintを設定してコードをチェックできるようにした
yukinko05 Aug 30, 2024
c7c5426
ESLintのエラーの解消
yukinko05 Aug 30, 2024
ee0d4a4
Sassをインストール
yukinko05 Aug 30, 2024
b1d3d8b
CSSをSassに書き換える
yukinko05 Aug 30, 2024
2fa3180
必要なパッケージが不足しててESLintを実行した時にエラーが発生したのでパッケージを追加
yukinko05 Aug 30, 2024
6b7ed13
editListのCSSをSassで書き換える
yukinko05 Aug 31, 2024
5a1e8a6
HeaderのCSSをSassで書き換える
yukinko05 Aug 31, 2024
d97d5d3
EditTaskのCSSをSassに書き換える
yukinko05 Aug 31, 2024
4051095
HomeのCSSをSassに書き換える
yukinko05 Aug 31, 2024
f4f1b53
NewListのCSSをSassに書き換える
yukinko05 Aug 31, 2024
e51512e
NewTaskのCSSをSassに書き換える
yukinko05 Aug 31, 2024
cd275ee
SigninのCSSをSassに書き換える
yukinko05 Aug 31, 2024
06585d5
SignUpのCSSをSassに書き換える
yukinko05 Aug 31, 2024
5c110df
カラーの変数を修正
yukinko05 Aug 31, 2024
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
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 100,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"endOfLine": "lf"
}
23 changes: 23 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import pluginReact from 'eslint-plugin-react';

export default [
{ files: ['**/*.{js,mjs,cjs,jsx}'] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
pluginReact.configs.flat.recommended,
{
settings: {
react: {
version: 'detect',
},
},
},
{
rules: {
'react/react-in-jsx-scope': 'off', // React v18では不要
'react/prop-types': 'off', //prop-typesは使用していないのでoff
},
},
];
Loading