Comments (1)
In no place does the README say that dependencies
and devDependencies
are the last keys in package.json
. The README states:
Keys in package.json will be sorted in an opinionated order but may be configured to your own preferences.
The reason that I clearly state the defaults are opinionated is because, in my opinion, it's the most helpful order (most important → least important). If you're unhappy with the ordering you can configure it to use whatever key order you want.
As an aside, your attitude and condescension is unnecessary and unwelcome. If this package doesn't fit your needs, create a PR, use another package, or write your own.
from prettier-package-json.
Related Issues (20)
- should not publish tests folder HOT 3
- Comments in package.json scripts section, and custom styles HOT 1
- Sort of files property has undesired side-effect
- Allow different options for sorting scripts
- Support for defining options through a config file HOT 1
- Respect editorconfig instead needing to use `--use-tabs` HOT 3
- Can "version" field be given higher precedence? HOT 3
- Breaking bug: postinstall fails HOT 3
- Fix broken links for default options
- Scripts like `prettify` are sorted in wrong order HOT 6
- invalid JSON test failing on main branch HOT 2
- Package sort order different than npm install HOT 3
- [Feature] add --check option to CLI HOT 1
- Sort npm overrides
- prettier-package-json sorts dependencies differently than npm
- Disable script sorting? HOT 1
- bundleDependencies property is rewritten incorrectly
- Consideration of multiple delimiters for sorting scripts HOT 2
- [FEATURE request] Please add validation of `name` property
- orderBy is not a function error at sort-scripts.js HOT 1
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 prettier-package-json.