Skip to content

Commit

Permalink
chore: migrate remark & prettier config to mjs
Browse files Browse the repository at this point in the history
techfg committed Dec 31, 2024
1 parent 52543c1 commit 388946a
Showing 4 changed files with 19 additions and 15 deletions.
13 changes: 0 additions & 13 deletions .prettierrc.json

This file was deleted.

17 changes: 17 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* @see https://prettier.io/docs/en/configuration.html
* @type {import("prettier").Config}
*/
export default {
singleQuote: true,
trailingComma: 'none',
plugins: ['prettier-plugin-astro'],
overrides: [
{
files: '*.astro',
options: {
parser: 'astro'
}
}
]
};
2 changes: 1 addition & 1 deletion .remarkrc.cjs → .remarkrc.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
settings: {
bullet: '-',
emphasis: '_',
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ export default [
}
},
{
files: ['.remarkrc.cjs'],
files: ['.remarkrc.mjs'],
languageOptions: { globals: { ...globals.node } }
},
pluginJs.configs.recommended,

0 comments on commit 388946a

Please sign in to comment.