🌱 Setup Prettier with Sublime Text

npm i prettier

touch prettier.config.js

paste the following in ↑

module.exports = {
  semi: false,
  tabWidth: 2,
  singleQuote: true,
  printWidth: 120,
  trailingComma: 'es5',
  parser: 'babylon',
  files: ['*.html', '*.css', '*.js', '*.jsx', '*.md'],
}

restart sublime

Made by Brandon . If you find this project useful you can donate.