GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
284 stars 57 forks source link

add .prettierrc #56

Closed DanielJDufour closed 3 years ago

DanielJDufour commented 3 years ago

Please use the config used by npm run format: https://github.com/GeoTIFF/georaster-layer-for-leaflet/blob/master/package.json#L12

Rennzie commented 3 years ago

Default values from prettier.io

{
  "arrowParens": "always",
  "bracketSpacing": true,
  "embeddedLanguageFormatting": "auto",
  "htmlWhitespaceSensitivity": "css",
  "insertPragma": false,
  "jsxBracketSameLine": false,
  "jsxSingleQuote": false,
  "printWidth": 80,
  "proseWrap": "preserve",
  "quoteProps": "as-needed",
  "requirePragma": false,
  "semi": true,
  "singleQuote": false,
  "tabWidth": 2,
  "trailingComma": "es5",
  "useTabs": false,
  "vueIndentScriptAndStyle": false
}
DanielJDufour commented 3 years ago

this is complete: https://github.com/GeoTIFF/georaster-layer-for-leaflet/blob/master/.prettierrc