Skip to content

Commit

Permalink
Update: All plugins to latest (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
DHedgecock committed Oct 12, 2023
1 parent 094b4b0 commit ecb42b9
Show file tree
Hide file tree
Showing 10 changed files with 3,793 additions and 10,763 deletions.
3 changes: 0 additions & 3 deletions .czrc

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc

This file was deleted.

35 changes: 35 additions & 0 deletions .prettierrc.js
@@ -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,
},
},
],
}

0 comments on commit ecb42b9

Please sign in to comment.