mizdra / eslint-config-mizdra Goto Github PK
View Code? Open in Web Editor NEWESLint config for @mizdra
License: MIT License
ESLint config for @mizdra
License: MIT License
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>mizdra/renovate-config-mizdra:+lib)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
node
, @types/node
).github/workflows/ci.yml
actions/checkout v3
actions/setup-node v3
actions/checkout v3
actions/setup-node v3
package.json
@typescript-eslint/eslint-plugin >=2.31.0
@typescript-eslint/parser >=2.31.0
eslint-config-prettier >=8.10.0
eslint-plugin-import >=2.29.0
eslint-plugin-n >=15.7.0
eslint-plugin-react >=7.19.0
eslint-plugin-react-hooks >=4.0.0
eslint-plugin-unicorn >=48.0.1
@eslint/eslintrc ^3.0.0
@eslint/js ^8.52.0
@mizdra/prettier-config-mizdra ^1.0.0
@tsconfig/node18 ^18.2.2
@tsconfig/strictest ^2.0.2
@types/eslint ^8.44.3
@types/node ^18.18.8
@types/react ^18.0.35
@typescript-eslint/eslint-plugin ^5.58.0
@typescript-eslint/parser ^5.58.0
eslint ^8.50.0
eslint-config-prettier ^8.10.0
eslint-plugin-react ^7.32.2
eslint-plugin-react-hooks ^4.6.0
npm-run-all ^4.1.5
prettier ~2.8.8
ts-essentials ^9.3.2
typescript ^5.0.4
eslint >=6.8.0
prettier >=2.0.5
typescript >=3.9.3
node >=16.0.0
npm install を楽にしたい
package がインストールされているのに vscode 上で error が出ることがあり、noisy になっている。
foo.ts
を開くfoo.ts
に import dedent from 'dedent'
と書く'dedent' should be listed in the project's dependencies. Run 'npm i -S dedent' to add it
が出るpnpm i -D dedent
する'dedent' should be listed in the project's dependencies. Run 'npm i -S dedent' to add it
がまだ出ていることを確認おそらく eslint の vscode 拡張機能に node_modules 配下の書き込みを監視して lint し直す機能がないために、このような問題が出ている。
import/no-extraneous-dependencies
を無効化する。元々 pacakge.json の dependencies
や devDependencies
に書かれていない package に直接依存するコードを検出するために導入したルールだったが、かえって混乱を招いているのでやめたい。
そもそも pnpm や npm の --install-strategy=linked
なら、「pacakge.json の dependencies
や devDependencies
に書かれていない package に直接依存するコード」があったら実行時に必ずコケるようになっているので、import/no-extraneous-dependencies
がなくても困ることはそうないだろうと考えている。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.