1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00
Files
matrix-js-sdk/.eslintrc.js
David Baker ff723980ac Add exceptions to eslintrc for JSDoc
To allow things we've been OK about previously
2017-01-12 11:26:17 +00:00

26 lines
592 B
JavaScript

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