Skip to content

Commit

Permalink
fix(format): leave sort order of "files" array unchanged
Browse files Browse the repository at this point in the history
Closes #35
  • Loading branch information
JamieMason committed Jun 19, 2020
1 parent 027011a commit 1bd584f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@ import { collect } from './lib/collect';
export type DependencyType = 'dependencies' | 'devDependencies' | 'peerDependencies';
export const DEPENDENCY_TYPES: DependencyType[] = ['dependencies', 'devDependencies', 'peerDependencies'];

export const SORT_AZ = [
'contributors',
'dependencies',
'devDependencies',
'files',
'keywords',
'peerDependencies',
'scripts',
];
export const SORT_AZ = ['contributors', 'dependencies', 'devDependencies', 'keywords', 'peerDependencies', 'scripts'];

export const SORT_FIRST = ['name', 'description', 'version', 'author'];
export const GREATER = 1;
Expand Down

0 comments on commit 1bd584f

Please sign in to comment.