-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update deps and remove console.log (#215)
Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
- Loading branch information
1 parent
cec6d75
commit 55b08bd
Showing
96 changed files
with
721 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,49 @@ | ||
module.exports = { | ||
// prettier conflicts | ||
"no-underscore-dangle": "off", | ||
"max-len": "off", | ||
"max-classes-per-file": "off", | ||
"class-methods-use-this": "off", | ||
"no-await-in-loop": "off", | ||
"import/prefer-default-export": "off", | ||
"comma-dangle": "off", | ||
"object-curly-newline":"off", | ||
"arrow-parens": "off", | ||
"implicit-arrow-linebreak": "off", | ||
"prettier/prettier": "error", | ||
"@typescript-eslint/no-useless-constructor": "off", // not good with inversify | ||
"@typescript-eslint/no-misused-promises": "off", | ||
"@typescript-eslint/interface-name-prefix": ["error", { "prefixWithI": "always" }], | ||
"@typescript-eslint/explicit-member-accessibility": ["error", { | ||
"accessibility": "explicit", | ||
"overrides": { | ||
"accessors": "explicit", | ||
"constructors": "no-public", | ||
"methods": "explicit", | ||
"properties": "explicit", | ||
"parameterProperties": "explicit" | ||
} | ||
}], | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": "memberLike", | ||
"modifiers": ["private"], | ||
"format": ["camelCase", "UPPER_CASE"], | ||
"leadingUnderscore": "require" | ||
} | ||
], | ||
"header/header": [2, "block", [ | ||
`\n * Copyright (c) ${new Date().getFullYear()} Ville de Montreal. All rights reserved.\n * Licensed under the MIT license.\n * See LICENSE file in the project root for full license information.\n ` | ||
]] | ||
// prettier conflicts | ||
"no-underscore-dangle": "off", | ||
"max-len": "off", | ||
"max-classes-per-file": "off", | ||
"class-methods-use-this": "off", | ||
"no-await-in-loop": "off", | ||
"import/prefer-default-export": "off", | ||
"comma-dangle": "off", | ||
"object-curly-newline": "off", | ||
"arrow-parens": "off", | ||
"implicit-arrow-linebreak": "off", | ||
"prettier/prettier": "error", | ||
"@typescript-eslint/no-useless-constructor": "off", // not good with inversify | ||
"@typescript-eslint/no-misused-promises": "off", | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": "interface", | ||
"format": ["PascalCase"], | ||
"custom": { | ||
"regex": "^I[A-Z]", | ||
"match": true | ||
} | ||
} | ||
], | ||
"@typescript-eslint/explicit-member-accessibility": ["error", { | ||
"accessibility": "explicit", | ||
"overrides": { | ||
"accessors": "explicit", | ||
"constructors": "no-public", | ||
"methods": "explicit", | ||
"properties": "explicit", | ||
"parameterProperties": "explicit" | ||
} | ||
}], | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": "memberLike", | ||
"modifiers": ["private"], | ||
"format": ["camelCase", "UPPER_CASE"], | ||
"leadingUnderscore": "require" | ||
} | ||
], | ||
"header/header": [2, "block", [ | ||
`\n * Copyright (c) ${new Date().getFullYear()} Ville de Montreal. All rights reserved.\n * Licensed under the MIT license.\n * See LICENSE file in the project root for full license information.\n ` | ||
]] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.