diff --git a/lint/eslintrc-legacy.json b/lint/eslintrc-legacy.json new file mode 100644 index 000000000..462607e4e --- /dev/null +++ b/lint/eslintrc-legacy.json @@ -0,0 +1,21 @@ +{ + "rules": { + "indent": [ + "error", + 4, + { + "ignoredNodes": [ + "ConditionalExpression", + "CallExpression > ArrowFunctionExpression", + "CallExpression[callee.object.name=GObject][callee.property.name=registerClass] > ClassExpression:first-child" + ], + "CallExpression": { "arguments": "first" }, + "ArrayExpression": "first", + "ObjectExpression": "first", + "MemberExpression": "off" + } + ], + "prefer-template": "off", + "quotes": "off" + } +}