Closed fernandopasik closed 8 years ago
Can't repro -
$ echo 'requireObjectKeysOnNewLine: true' > .jscsrc
$ echo 'module.exports.someObject = {
property1: 'property1',
property2: 'property2',
method1() {
// Do some stuff
}
};
' > test.js
$ jscs test.js
$ jscs --version
3.0.3
It can be reproduced with "requireObjectKeysOnNewLine": { "allExcept": [ "sameLine" ]}
I'm using jscs v3.0.3 and didn't have this problem when I was using v2.11.0.
The code that is producing the error is:
The stack trace: