Skip to content

Configure Prettier. Adapt the Travis setup. #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2018

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented May 29, 2018

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

.eslintrc.js Outdated
'no-console': 0,
}
'env': {
'es6': true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 4 space tabs?

.travis.yml Outdated
- '6'
- '10'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would sort because it makes me thing of @teohhanhui saying it to me 😆

import ReactNativeGenerator from './generators/ReactNativeGenerator';
import TypescriptInterfaceGenerator from './generators/TypescriptInterfaceGenerator';
import VueGenerator from './generators/VueGenerator';
import AdminOnRestGenerator from "./generators/AdminOnRestGenerator";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally disagree with double quotes I find simple quotes easier to read.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me too, but... I prefer to not bother with that and use Prettier's default config.

@dunglas dunglas merged commit a5bf833 into api-platform:master May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants