We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35025de commit 6ddc708Copy full SHA for 6ddc708
lib/rules/jsx-indent.js
@@ -81,7 +81,8 @@ module.exports = {
81
}
82
83
const indentChar = indentType === 'space' ? ' ' : '\t';
84
- const checkAttributes = context.options[1] && context.options[1].checkAttributes || false;
+ const options = context.options[1] || {};
85
+ const checkAttributes = options.checkAttributes || false;
86
87
/**
88
* Responsible for fixing the indentation issue fix
0 commit comments