Browse Source

Add empty .prettierrc to project root (#6125)

master
Lucas Duailibe 3 years ago
committed by GitHub
parent
commit
3e00fbad78
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .prettierrc
  2. 4
      tests_integration/__tests__/config-resolution.js

1
.prettierrc

@ -0,0 +1 @@
{}

4
tests_integration/__tests__/config-resolution.js

@ -81,12 +81,12 @@ describe("CLI overrides take precedence", () => {
test("API resolveConfig with no args", () => {
return prettier.resolveConfig().then(result => {
expect(result).toBeNull();
expect(result).toEqual({});
});
});
test("API resolveConfig.sync with no args", () => {
expect(prettier.resolveConfig.sync()).toBeNull();
expect(prettier.resolveConfig.sync()).toEqual({});
});
test("API resolveConfig with file arg", () => {

Loading…
Cancel
Save