-
Notifications
You must be signed in to change notification settings - Fork 12
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
add prettier #43
add prettier #43
Conversation
ktalebian
commented
Oct 31, 2019
- Adds prettier support
@@ -0,0 +1,3 @@ | |||
{ | |||
"extends": "./index.js" | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing line at EOF
"test": "jest --coverage --color" | ||
}, | ||
"dependencies": { | ||
"eslint-config-twilio-base": "file:///Users/ktalebian/Projects/github/twilio-labs/twilio-style/packages/eslint-config-twilio-base" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂
'prefer-arrow-callback': 'off', | ||
'no-mixed-operators': 'off', | ||
'quotes': 'off', | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing line at EOF
{}, | ||
require('./base'), | ||
require('./prettier'), | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
'singleQuote': true, | ||
}, | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
allowObjectStart: true, | ||
allowObjectEnd: true, | ||
allowArrayStart: true, | ||
allowArrayEnd: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing trailing comma
'wrap-iife': 'off', | ||
'yield-star-spacing': 'off', | ||
'arrow-body-style': 'off', | ||
'max-len': 'off', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, what will this mean for our max-len override?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add it to prettier
could be meta and lint the repo by using the rules from the subpackage? |