.eslintrc.js revision 868ff5aa364759d09f6865fcd88839e4cfe5c4c0
4632N/A * -------------------------------------------------------------------------------- 4632N/A * These are rules we're sure about. They will cause the build to fail. 4632N/A * -------------------------------------------------------------------------------- 4632N/A "array-bracket-spacing": [
2,
"never"],
4632N/A "arrow-body-style": [
2,
"as-needed"],
4632N/A "arrow-parens": [
2,
"always"],
4632N/A "block-spacing": [
2,
"always"],
4632N/A "brace-style": [
2,
"1tbs", {
"allowSingleLine":
true }],
4632N/A "dot-location": [
2,
"property"],
4632N/A "no-constant-condition":
2,
4632N/A "no-empty-character-class":
2,
4632N/A "no-irregular-whitespace":
2,
4632N/A "no-mixed-spaces-and-tabs":
2,
4632N/A "no-multiple-empty-lines":
2,
4632N/A "no-unmodified-loop-condition":
2,
4632N/A "no-whitespace-before-property":
2,
4632N/A "object-curly-spacing": [
2,
"always"],
4632N/A "quotes": [
2,
"double",
"avoid-escape"],
4632N/A "space-before-blocks": [
2,
"always"],
4632N/A "space-before-function-paren": [
2,
"always"],
4632N/A "space-in-parens": [
2,
"never"],
4632N/A "template-curly-spacing":
2,
4632N/A * -------------------------------------------------------------------------------- 4632N/A * These are rules that we want to turn into errors but can't yet because there are 4632N/A * too many violations. As we fix the violations, we will transition them into 4632N/A * -------------------------------------------------------------------------------- 4632N/A "prefer-arrow-callback":
1,
4632N/A // TODO: Need an abstraction for logging before we can enable this. 4632N/A * Disabled because these rules aren't available in ESLint 2.0. 4632N/A * TODO: Remove them from eslint-config-forgerock 4632N/A "space-return-throw-case":
0