JSPM

esformatter-remove-trailing-commas

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 494
  • Score
    100M100P100Q141137F
  • License MIT

Remove trailing commas

Package Exports

  • esformatter-remove-trailing-commas

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (esformatter-remove-trailing-commas) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

esformatter-remove-trailing-commas Build Status

esformatter plugin that removes trailing commas.

var foo = {
  a: 1,
};

// converted to:
var foo = {
  a: 1
};

Install

With npm do:

$ npm i esformatter-remove-trailing-commas

Usage

esformatter config file:

{
  "plugins": [
    "esformatter-remove-trailing-commas"
  ]
}

License

MIT