Closed takasaki376 closed 2 years ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
clean-network | ✅ Ready (Inspect) | Visit Preview | Jul 9, 2022 at 7:33AM (UTC) |
このエラーでしょうか。 ✖ next lint --fix --file /src/components/footer.tsx: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.json': Cannot find module '@typescript-eslint/eslint-plugin'
yarn add eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin --dev した後に、commitするとImageコンポーネント使用しても commitが正常終了しました
ruleの方ですが、参考までにairbnbの設定を組み込むこともできそう https://stackoverflow.com/questions/52991850/what-does-extends-airbnb-actually-do-in-a-reacts-eslintrc-file
@takasaki376 yarn.lockがconflictしてますので こちらご参考まで https://qiita.com/teradonburi/items/4c2154d4311a74342392
@Mod12d ありがとうございます。(仕事中ですよね?) 帰宅してから確認します。
@Mod12d
yarn add eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin --dev した後に、commitするとImageコンポーネント使用しても commitが正常終了しました
こちらを実行しても変わりませんでした。
私の端末はインストール済でしたが、pullされた後にyarn install
は実行されていましたか?
現在のエラー内容です。
> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -
yarn run v1.22.18
warning ..\..\package.json: No license field
$ C:\Users\takas\react\clean_network\node_modules\.bin\lint-staged
[2m◼[22m Preparing lint-staged...
[2K[1A[2K[G[2m◼[22m Preparing lint-staged...
[2m◼[22m Running tasks for staged files...
[2K[1A[2K[1A[2K[G[2m◼[22m Preparing lint-staged...
[2m◼[22m Running tasks for staged files...
[2m◼[22m Applying modifications from tasks...
[2K[1A[2K[1A[2K[1A[2K[G[2m◼[22m Preparing lint-staged...
[2m◼[22m Running tasks for staged files...
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[93m⠋[39m Preparing lint-staged...
[2m◼[22m Running tasks for staged files...
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[93m⠙[39m Preparing lint-staged...
[2m◼[22m Running tasks for staged files...
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[2m◼[22m Running tasks for staged files...
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[93m⠙[39m Running tasks for staged files...
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[2m◼[22m .lintstagedrc.js[2m — 1 file[22m
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[93m⠙[39m .lintstagedrc.js[2m — 1 file[22m
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[2m◼[22m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[93m⠙[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[2m◼[22m next lint --fix --file
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[2m◼[22m next lint --fix --file
[2m◼[22m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[93m⠙[39m next lint --fix --file
[2m◼[22m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[93m⠹[39m next lint --fix --file
[2m◼[22m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[93m⠸[39m next lint --fix --file
[2m◼[22m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m next lint --fix --file
[31m◼[39m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[33m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[33m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[33m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[2m◼[22m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[93m⠸[39m Applying modifications from tasks...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[2m◼[22m Reverting to original state because of errors...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[93m⠸[39m Reverting to original state because of errors...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[93m⠼[39m Reverting to original state because of errors...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[93m⠴[39m Reverting to original state because of errors...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[32m✔[39m Reverting to original state because of errors...
[2m◼[22m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[32m✔[39m Reverting to original state because of errors...
[93m⠴[39m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[32m✔[39m Reverting to original state because of errors...
[93m⠦[39m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[32m✔[39m Reverting to original state because of errors...
[32m✔[39m Cleaning up temporary files...
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[32m✔[39m Preparing lint-staged...
[31m❯[39m Running tasks for staged files...
[31m❯[39m .lintstagedrc.js[2m — 1 file[22m
[31m❯[39m **/*.{js,jsx,ts,tsx}[2m — 1 file[22m
[31m✖[39m [91mnext lint --fix --file [39m [2m[FAILED][22m
[31m◼[39m prettier --write
[33m↓[39m Skipped because of errors from tasks.[2m [SKIPPED][22m
[32m✔[39m Reverting to original state because of errors...
[32m✔[39m Cleaning up temporary files...
[91m[91m✖[91m next lint --fix --file :[39m
C:\Users\takas\react\clean_network\node_modules\next\dist\compiled\arg\index.js:1
(()=>{var e={816:e=>{const r=Symbol("arg flag");function arg(e,{argv:t,permissive:n=false,stopAtPositional:o=false}={}){if(!e){throw new Error("Argument specification object is required")}const i={_:[]};t=t||process.argv.slice(2);const a={};const s={};for(const t of Object.keys(e)){if(!t){throw new TypeError("Argument key cannot be an empty string")}if(t[0]!=="-"){throw new TypeError(`Argument key must start with '-' but found: '${t}'`)}if(t.length===1){throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${t}`)}if(typeof e[t]==="string"){a[t]=e[t];continue}let n=e[t];let o=false;if(Array.isArray(n)&&n.length===1&&typeof n[0]==="function"){const[e]=n;n=(r,t,n=[])=>{n.push(e(r,t,n[n.length-1]));return n};o=e===Boolean||e[r]===true}else if(typeof n==="function"){o=n===Boolean||n[r]===true}else{throw new TypeError(`Type missing or not a function or valid array type: ${t}`)}if(t[1]!=="-"&&t.length>2){throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${t}`)}s[t]=[n,o]}for(let e=0,r=t.length;e<r;e++){const r=t[e];if(o&&i._.length>0){i._=i._.concat(t.slice(e));break}if(r==="--"){i._=i._.concat(t.slice(e+1));break}if(r.length>1&&r[0]==="-"){const o=r[1]==="-"||r.length===2?[r]:r.slice(1).split("").map((e=>`-${e}`));for(let r=0;r<o.length;r++){const l=o[r];const[f,u]=l[1]==="-"?l.split("=",2):[l,undefined];let c=f;while(c in a){c=a[c]}if(!(c in s)){if(n){i._.push(l);continue}else{const e=new Error(`Unknown or unexpected option: ${f}`);e.code="ARG_UNKNOWN_OPTION";throw e}}const[p,_]=s[c];if(!_&&r+1<o.length){throw new TypeError(`Option requires argument (but was followed by another short argument): ${f}`)}if(_){i[c]=p(true,c,i[c])}else if(u===undefined){if(t.length<e+2||t[e+1].length>1&&t[e+1][0]==="-"){const e=f===c?"":` (alias for ${c})`;throw new Error(`Option requires argument: ${f}${e}`)}i[c]=p(t[e+1],c,i[c]);++e}else{i[c]=p(u,c,i[c])}}}else{i._.push(r)}}return i}arg.flag=e=>{e[r]=true;return e};arg.COUNT=arg.flag(((e,r,t)=>(t||0)+1));e.exports=arg}};var r={};function __nccwpck_require__(t){var n=r[t];if(n!==undefined){return n.exports}var o=r[t]={exports:{}};var i=true;try{e[t](o,o.exports,__nccwpck_require__);i=false}finally{if(i)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(816);module.exports=t})();
Error: Option requires argument: --file
at Object.arg [as default] (C:\Users\takas\react\clean_network\node_modules\next\dist\compiled\arg\index.js:1:1845)
at nextLint (C:\Users\takas\react\clean_network\node_modules\next\dist\cli\next-lint.js:99:37)
at C:\Users\takas\react\clean_network\node_modules\next\dist\bin\next:147:34
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
husky - pre-commit hook exited with code 1 (error)
@takasaki376 ~該当部分修正したコードを一旦pushしますね~
直前のcommitとの差はyarn.lockのみみたいですね https://github.com/Mod12d/clean_network/pull/29/commits/0c9c1ef42ee2facf12e4c53596487a396ec8c26b
@Mod12d ありがとうございます。
developからもう一度やり直してみましたが、やっぱりcommit時にエラーです。(プルリクは投げてません。) https://github.com/Mod12d/clean_network/tree/feature/takasaki-%2315-2
今後のために、ブランチfeature-takasaki-#15-2
に切り替えて、Imageタグの修正してコミットまでしてもらえないでしょうか。(push不要です。)
コミットできるなら、私の環境に原因があるということですね。
すみません、遅くなりました 可能なので、リモートの状態は正しいのかなと思います
terumi@teruminoAir clean_network % git switch feature-takasaki-#15-2
Switched to branch 'feature-takasaki-#15-2'
terumi@teruminoAir clean_network % git reset --hard origin/feature/takasaki-#15-2
HEAD is now at 134c38c eslint設定
terumi@teruminoAir clean_network % git status
On branch feature-takasaki-#15-2
You are in a sparse checkout with 100% of tracked files present.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: src/components/footer.tsx
no changes added to commit (use "git add" and/or "git commit -a")
terumi@teruminoAir clean_network % git add .
terumi@teruminoAir clean_network % git commit -m "test"
yarn run v1.22.18
$ /Users/terumi/tech/clean_network/node_modules/.bin/lint-staged
✔ Preparing lint-staged...
✔ Running tasks for staged files...
✔ Applying modifications from tasks...
✔ Cleaning up temporary files...
✨ Done in 4.76s.
[feature-takasaki-#15-2 790d639] test
Committer: terumi <terumi@teruminoAir.AirPort>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 4 insertions(+), 1 deletion(-)
@Mod12d
可能なので、リモートの状態は正しいのかなと思います ありがとうございます。 端末にインストールしているNodeかyarn、gitのいずれかでしょうね。 gitだけ、バージョン番号の後ろにwindowsと出てきたのが気になりますが、それぞれどのバージョンを使っていますか。
> node -v
v16.13.0
> yarn -v
1.22.18
> git -v
git version 2.37.0.windows.1
このプルリクはマージしてしまって、あとはslackでのやり取りにしましょうか。
footer.tsxで、
↓
と変更すると、commit時にエラーとなります。(未修正だと、ESLintのワーニング) 一旦プルリク投げます。
また、下記のワーニングは無視しています。(どうせ今から変わると想定)