@markuplint-dev/prettier-config 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +6 -0
- package/CHANGELOG.md +11 -0
- package/index.js +22 -0
- package/package.json +22 -0
package/.eslintrc
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# 1.0.0-alpha.1 (2024-06-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **prettier:** moved Prettier configuration to `@markuplint-dev/prettier-config` ([1080d2d](https://github.com/markuplint/markuplint/commit/1080d2dbb7ac53a12bedd8ee92ec6250fbf73dca))
|
package/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
printWidth: 120,
|
|
3
|
+
tabWidth: 4,
|
|
4
|
+
useTabs: true,
|
|
5
|
+
singleQuote: true,
|
|
6
|
+
trailingComma: 'all',
|
|
7
|
+
bracketSpacing: true,
|
|
8
|
+
arrowParens: 'avoid',
|
|
9
|
+
overrides: [
|
|
10
|
+
{
|
|
11
|
+
files: '.*rc',
|
|
12
|
+
options: { parser: 'json' },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
files: ['*.{md,mdx}'],
|
|
16
|
+
options: {
|
|
17
|
+
tabWidth: 2,
|
|
18
|
+
useTabs: false,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@markuplint-dev/prettier-config",
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
|
+
"description": "Prettier and config for Markuplint projects",
|
|
5
|
+
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
|
+
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"private": false,
|
|
9
|
+
"type": "module",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"prettier": "3.2.5"
|
|
20
|
+
},
|
|
21
|
+
"gitHead": "b1cabc178e3553fd66c7ed4357b4124eb2585327"
|
|
22
|
+
}
|