1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Run lint on prepublish, not build

and make everything errors, so now you can do local builds with
lint failures, but CI will fail and you can't release.
This commit is contained in:
David Baker
2017-01-12 12:57:24 +00:00
parent 591b56d794
commit 543b9cf0ce
2 changed files with 5 additions and 5 deletions

View File

@@ -6,17 +6,17 @@ module.exports = {
}
},
rules: {
"max-len": ["warn", {
"max-len": ["error", {
code: 90,
ignoreComments: true,
}],
curly: ["error", "multi-line"],
"require-jsdoc": ["warn", {
"require-jsdoc": ["error", {
require: {
FunctionDeclaration: false,
}
}],
"valid-jsdoc": ["warn", {
"valid-jsdoc": ["error", {
requireParamDescription: false,
requireReturn: false,
requireReturnDescription: false,