Skip to content

Commit

Permalink
feat: Remove Prettier configuration
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Based on discussion #76 we decided to remove our Prettier configuration.
In order to avoid useless discussions, people should format their code with thatever style Prettier uses. Configuring Prettier ultimately defeats the purpose of Prettier, see prettier/prettier#40
  • Loading branch information
jhnns committed May 16, 2020
1 parent 8b9a671 commit e6c0d39
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
6 changes: 0 additions & 6 deletions README.md
Expand Up @@ -468,12 +468,6 @@ const foo: Array<string> = [];

## Prettier

There is a [Prettier](https://prettier.io/) config in this repository that corresponds to our linting rules as much as possible. Add a `.prettierrc` file to your repository with the following content:

```js
"eslint-config-peerigon/prettier"
```

In order to avoid conflicts between Prettier and our rules, you should always add **prettier rules at the end of `extends`**. For example, in a TypeScript + React project you would use the following configuration:

```js
Expand Down
9 changes: 0 additions & 9 deletions prettier-spaces.js

This file was deleted.

22 changes: 0 additions & 22 deletions prettier.js

This file was deleted.

0 comments on commit e6c0d39

Please sign in to comment.