epicweb-dev / config Goto Github PK
View Code? Open in Web Editor NEWReasonable ESLint, Prettier, and TypeScript configs for epic web devs
Home Page: https://www.epicweb.dev
Reasonable ESLint, Prettier, and TypeScript configs for epic web devs
Home Page: https://www.epicweb.dev
System:
OS: Windows 11 10.0.22621
CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Memory: 11.37 GB / 31.92 GB
Binaries:
Node: 20.12.2 - ~\AppData\Local\nvs\default\node.EXE
npm: 10.5.0 - ~\AppData\Local\nvs\default\npm.CMD
npmPackages:
@epic-web/config: 1.9.1 => 1.9.1
eslint: 8.57.0 => 8.57.0
vitest: 1.6.0 => 1.6.0
I would expect the ESLint config to find the vitest
package installed and conditionally apply the vitest rules.
It does not find the vitest
dependency and thus does not apply the vitest rules.
Certain packages (e.g., vitest
, @playwright/test
, etc.) don't like to be imported wholesale like the has
function currently does, so dynamic import()
rejects and the config doesn't think the package is present.
I solved this in my fork using import.meta.resolve
, which I'd be happy to PR if that's the direct you want to go, but thought I'd run it by you here first.
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.