kanko-dori / favox

https://favox.cf
1 stars 0 forks source link

スタイリングとその他簡単なスクリプト #88

Closed ssssota closed 3 years ago

ssssota commented 4 years ago

WHY

76

スタイリングとコンポネント

WHAT

ssssota commented 3 years ago

npm run devhttp://localhost:3000にたちます

onsd commented 3 years ago
❯ npm run lint

> functions@ lint /Users/taka/Workspace/github.com/kanko-dori/favox
> eslint src/**/{*.js,*.jsx,*.ts,*.tsx} --fix

Oops! Something went wrong! :(

ESLint: 7.12.1

No files matching the pattern "src/**/*.jsx" were found.
Please check for typing mistakes in the pattern.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! functions@ lint: `eslint src/**/{*.js,*.jsx,*.ts,*.tsx} --fix`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the functions@ lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/taka/.npm/_logs/2020-11-11T14_47_07_635Z-debug.log

lint できなかった

onsd commented 3 years ago
❯ cat package.json | grep eslint
    "lint": "eslint src/**/{*.js,*.ts,*.tsx} --fix",

❯ npm run lint

> functions@ lint /Users/taka/Workspace/github.com/kanko-dori/favox
> eslint src/**/{*.js,*.ts,*.tsx} --fix

/Users/taka/Workspace/github.com/kanko-dori/favox/src/frontend/pages/playlist/[id].tsx
  7:11  warning  'playlistId' is assigned a value but never used  @typescript-eslint/no-unused-vars

✖ 1 problem (0 errors, 1 warning)

*.jsx を消したら動いた

ssssota commented 3 years ago

image image image image image image