Skip to content

Commit

Permalink
maint/dev ~ (Prettier) update config; adds dual use (Deno or NodeJS p…
Browse files Browse the repository at this point in the history
…rojects)
  • Loading branch information
rivy committed Feb 6, 2023
1 parent 96264b7 commit 21fc281
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
// Prettier configuration
// ref: <https://prettier.io/docs/en/options.html>
// v2022-07-13 [rivy]
// v2022-08-20 [rivy]

// spell-checker:ignore (people) Roy Ivy III * rivy

/* @prettier */ // note: (dprint) {.dprint.json}.prettier.associations should contain the name of this file

module.exports = {
// $schema: 'http://json.schemastore.org/prettierrc',
printWidth: 100,
proseWrap: 'preserve',
singleQuote: true,
useTabs: true,
tabWidth: 2,
// "# overrides/[*.markdown]/tabWidth": "// set to 4 when https://github.com/prettier/prettier/issues/5019 is fixed",
overrides: [
{
files: ['*.md', '*.mkd', '*.markdown'],
options: {
tabWidth: 2,
useTabs: false,
},
},
],
useTabs: true,
// ## overrides/[*.markdown]/tabWidth": "// set this to 4 when/if https://github.com/prettier/prettier/issues/5019 is fixed",
overrides: [{ files: ['*.md', '*.mkd', '*.markdown'], options: { tabWidth: 2, useTabs: false } }],
};

0 comments on commit 21fc281

Please sign in to comment.