storj.io/minio@v0.0.0-20230509071714-0cbc90f649b1/browser/.esformatter (about)

     1  {
     2    "plugins": [
     3      "esformatter-jsx"
     4    ],
     5    // Copied from https://github.com/royriojas/esformatter-jsx
     6    "jsx": {
     7      "formatJSX": true, //Duh! that's the default
     8      "attrsOnSameLineAsTag": false, // move each attribute to its own line
     9      "maxAttrsOnTag": 3, // if lower or equal than 3 attributes, they will be kept on a single line
    10      "firstAttributeOnSameLine": true, // keep the first attribute in the same line as the tag
    11      "formatJSXExpressions": true, // default true, if false jsxExpressions won't be recursively formatted
    12      "JSXExpressionsSingleLine": true, // default true, if false the JSXExpressions might span several lines
    13      "alignWithFirstAttribute": false, // do not align attributes with the first tag
    14      "spaceInJSXExpressionContainers": " ", // default to one space. Make it empty if you don't like spaces between JSXExpressionContainers
    15      "removeSpaceBeforeClosingJSX": false, // default false. if true <React.Something /> => <React.Something/>
    16      "closingTagOnNewLine": false, // default false. if true attributes on multiple lines will close the tag on a new line
    17      "JSXAttributeQuotes": "", // possible values "single" or "double". Leave it as empty string if you don't want to modify the attributes' quotes
    18      "htmlOptions": {
    19        // put here the options for js-beautify.html
    20      }
    21    }
    22  }
    23