You've already forked matrix-js-sdk
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user