prettier --write .\src\
picks up most files, correctly ignores the ones it should, incorrectly ignores some files it shouldn'tprettier --write full-path-to-file-which-should-be-ignored
still ignores the fileprettier --write full-path-to-file-which-should-not-be-ignored-but-is-when-run-on-the-directory
correctly prettiers the fileShow Options
in the bottom left of the playground
{% extends "base.html" %}
{% block content %}
<h1 class="title">:-)</h1>
{% endblock content %}
{% extends "base.html" %} {% block content %}
<h1 class="title">:-(</h1>
{% endblock content %}
name
, parsers
and extensions
in languages
. Am I missing something? Is it at all possible? I tested with the following example.console.log(html`<DIV> </DIV>`); // works
console.log(sql`CREATE TABLE example ( id INT PRIMARY KEY );`); // doesn't work
import { MigrationInterface, QueryRunner } from 'typeorm';
export class CreateExtensionPgcrypto1616393535319 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(sql`
CREATE EXTENSION IF NOT EXISTS pgcrypto;
`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(sql`
DROP EXTENSION pgcrypto;
`);
}
}
npx prettier --write --tab-width 2 "**/*.ts"
to format the code in 2 spaces, but it also makes other changes like changing single quotes by double quotes...