Skip to content
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

Merged
merged 2 commits into from
Oct 31, 2019
Merged

add prettier #43

merged 2 commits into from
Oct 31, 2019

Conversation

ktalebian
Copy link
Collaborator

  • Adds prettier support

@@ -0,0 +1,3 @@
{
"extends": "./index.js"
}
Copy link
Contributor

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"
Copy link
Contributor

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',
};
Copy link
Contributor

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'),
);
Copy link
Contributor

Choose a reason for hiding this comment

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

same

'singleQuote': true,
},
]
}
Copy link
Contributor

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
Copy link
Contributor

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',
Copy link
Contributor

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?

Copy link
Collaborator Author

@ktalebian ktalebian Oct 31, 2019

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

@ktalebian ktalebian merged commit 630824b into master Oct 31, 2019
@ktalebian ktalebian deleted the add-prettier branch October 31, 2019 22:47
@vankhoawin
Copy link
Contributor

could be meta and lint the repo by using the rules from the subpackage?

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.

3 participants