Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: All plugins to latest (#388)
- Loading branch information
1 parent
094b4b0
commit ecb42b9
Showing
10 changed files
with
3,793 additions
and
10,763 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
'use strict' | ||
|
||
module.exports = { | ||
arrowParens: 'always', | ||
endOfLine: 'lf', | ||
jsxSingleQuote: true, | ||
printWidth: 90, | ||
proseWrap: 'always', | ||
quoteProps: 'as-needed', | ||
semi: false, | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
|
||
// --- Language overrides | ||
overrides: [ | ||
// Keep markdown files very compact for readability | ||
{ | ||
files: '*.md', | ||
options: { | ||
printWidth: 80, | ||
}, | ||
}, | ||
// Allow really long lines in: | ||
// - HTML because it's only used for index files and looks nice with | ||
// consistent single line tags | ||
// - YAML files because it's often easier to read shell commands when | ||
// they're not broken into multiple lines awkwardly | ||
{ | ||
files: ['*.html', '*.yml', '*.yaml'], | ||
options: { | ||
printWidth: 140, | ||
}, | ||
}, | ||
], | ||
} |
Oops, something went wrong.