Comments (9)
Also may want to consider making standard
a peerDependency
so the version is controllable by the user? This does make the cli install process a little more clunky, but I don't think it's prohibitively bad.
from standardx.
Updated/hijacked the issue title to "consider making standard a peerDependency so the version is controllable by the user" :)
from standardx.
I think that I think that the most convenient would be if standardx mirrored the versions that standard was published under. That being said, that might not be worth the extra work in setting it up and maintaining it.
Although, just publishing three versions (9.0.0, 10.0.0, and 11.0.0) that all have a caret dependency on the same major (.0.0) would allow the user to select specific version if they want to, but still be able to add this package with just one npm install command.
I donβt have any strong feelings though, this is just my 2Β’
from standardx.
Agree with @LinusU. It would be nice to install a specific version of standardx that matches a version of standard and avoid the many issues associated with peer dependencies altogether.
Edit: In practice this might not be possible, since standardx may have its own issues and patches that don't correspond to standard at all.
from standardx.
Published as [email protected]
from standardx.
I'd like to hear some folks thoughts on switching to a peer dependency on standard
.
It adds a lot of flexibility, but its also a bit more clunky as you mentioned.
from standardx.
any @standard/folks have thoughts?
from standardx.
Agreed, that seems like a good middle ground
from standardx.
I just discovered this nice repo with this issue, would favor the following alternatives:
- update standardx to just use standard-engine
- update standardx to use eslint with eslint-plugin-standard, etc.
from standardx.
Related Issues (20)
- Add tests HOT 3
- An in-range update of tap-spec is breaking the build π¨ HOT 2
- The replacements should be under "standardx" property or .standardxrc file for TypeScript users HOT 4
- [standard] Parsing error: Unexpected token = HOT 4
- Action required: Greenkeeper could not be activated π¨
- Configuration for rule "react/jsx-indent" is invalid HOT 3
- Standardx and VSCode HOT 1
- Error: Failed to load config "standard" to extend from. HOT 25
- Add support for colorized output HOT 1
- Throwing exit status 1 and aborting following scripts
- Can't be loaded correctly if the .eslintrc is not in the root directory HOT 2
- Please update standardx to use standard v14.1.0 for ES2020 syntax HOT 1
- ignoreFields on .eslintrc.json is ignored. HOT 3
- Error only on IDEs HOT 3
- Running `standardx .` exits with exit cod e0 HOT 3
- Bug: "No files matching ''**/*.mjs'' were found" on Windows HOT 3
- Usage of ESM imports instead of CommonJS
- Allow Standard 17
- Usage with SublimeLinter? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from standardx.