Skip to content
#

prettier

Here are 1,863 public repositories matching this topic...

prettier
iamashin
iamashin commented Mar 28, 2020

This problem was found when creating the .Vue file. The project was created using Nuxt & TS. No idea how to fix this. Please help.

I'm a beginner in vue and prettier

package.json

"scripts": {
"dev": "nuxt-ts",
"build": "nuxt-ts build",
"generate": "nuxt-ts generate",
"start": "nuxt-ts start",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."

plugin-ruby
cbothner
cbothner commented Feb 9, 2019

Input

Person
  .select('people.id, people.name, comments.text')
  .joins(:comments)
  .where('comments.created_at > ?', 1.week.ago)

Current output

Person.select('people.id, people.name, comments.text').joins(:comments).where(
  'comments.created_at > ?', 1.week.ago
)

Expected output

Person
  .select('people.id, people.name, comment
JohnApache
JohnApache commented Nov 27, 2019

Command:

$ prettier-eslint 'src/**/*.{ts,tsx}' --write 

Executing this command throws an exception!

but when I use the full path, Like this:

$ prettier-eslint '/Users/cuijianwei/WebstormProjects/testproject/hasaki-cli-demo/gen-demo/src/**/*.{ts,tsx}' --write 
 

no error is reported, but I want to support relative paths

When I use version 6.6.0 of

Improve this page

Add a description, image, and links to the prettier topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the prettier topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.