Skip to content

v1.2.0 - Add "object-curly-newline"

Latest
Compare
Choose a tag to compare
@ninthsun91 ninthsun91 released this 18 Nov 17:25
{
  rules: {
    'object-curly-newline': [
      'error',
      {
        ObjectExpression: { consistent:  true },
        ObjectPattern: { consistent:  true },
        ImportDeclaration: { multiline: true, consistent:  true },
        ExportDeclaration: { multiline: true, minProperties: 2 },
      },
    ],
  }
}