Skip to content

Commit

Permalink
chore: disable object-literal-sort-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill89 committed Oct 8, 2018
1 parent 1138eb2 commit b5217fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/detect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const DETECTABLE_FILES = [
];

// when file is specified with --file, we look it up here
/*tslint:disable object-literal-sort-keys*/
const DETECTABLE_PACKAGE_MANAGERS = {
'Gemfile': 'rubygems',
'Gemfile.lock': 'rubygems',
Expand All @@ -46,7 +45,6 @@ const DETECTABLE_PACKAGE_MANAGERS = {
'project.json': 'nuget',
'composer.lock': 'composer',
};
/*tslint:enable object-literal-sort-keys*/

export function isPathToPackageFile(path) {
for (const fileName of DETECTABLE_FILES) {
Expand Down
1 change: 1 addition & 0 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"indent": [true, "spaces", 2],
"interface-name": false,
"no-use-before-declare": true,
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"semicolon": [true, "always"],
Expand Down

0 comments on commit b5217fd

Please sign in to comment.