1
Fork 0

Compare commits

..

No commits in common. "20e40118ae3994a14d0546c5f9655af0d293cfab" and "119bec7146804f16360e2a622acb30544d698657" have entirely different histories.

7 changed files with 42 additions and 114 deletions

View File

@ -1,5 +1,8 @@
{ {
"$schema": "https://json.schemastore.org/eslintrc.json", "$schema": "https://json.schemastore.org/eslintrc.json",
"extends": [
"plugin:prettier/recommended"
],
"overrides": [ "overrides": [
{ {
"extends": [ "extends": [

View File

@ -1,7 +1,7 @@
{ {
"name": "@bauke/eslint-config", "name": "@bauke/eslint-config",
"description": "Shareable ESLint configuration.", "description": "Shareable ESLint configuration.",
"version": "0.1.1", "version": "0.1.0",
"license": "Unlicense", "license": "Unlicense",
"repository": "https://git.bauke.xyz/Bauke/shareable-configs", "repository": "https://git.bauke.xyz/Bauke/shareable-configs",
"type": "module", "type": "module",
@ -13,12 +13,14 @@
"@typescript-eslint/parser": "^5.45.0", "@typescript-eslint/parser": "^5.45.0",
"eslint": ">=8.28.0", "eslint": ">=8.28.0",
"eslint-plugin-astro": "^0.21.0", "eslint-plugin-astro": "^0.21.0",
"eslint-plugin-mdx": "^2.0.5" "eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-prettier": "^4.2.1"
}, },
"peerDependencies": { "peerDependencies": {
"@typescript-eslint/parser": "^5.45.0", "@typescript-eslint/parser": "^5.45.0",
"eslint": ">=8.28.0", "eslint": ">=8.28.0",
"eslint-plugin-astro": "^0.21.0", "eslint-plugin-astro": "^0.21.0",
"eslint-plugin-mdx": "^2.0.5" "eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-prettier": "^4.2.1"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@bauke/prettier-config", "name": "@bauke/prettier-config",
"description": "Shareable Prettier configuration.", "description": "Shareable Prettier configuration.",
"version": "0.1.1", "version": "0.1.0",
"license": "Unlicense", "license": "Unlicense",
"repository": "https://git.bauke.xyz/Bauke/shareable-configs", "repository": "https://git.bauke.xyz/Bauke/shareable-configs",
"type": "module", "type": "module",

View File

@ -1,7 +1,7 @@
{ {
"name": "@bauke/stylelint-config", "name": "@bauke/stylelint-config",
"description": "Shareable Stylelint configuration.", "description": "Shareable Stylelint configuration.",
"version": "0.1.1", "version": "0.1.0",
"license": "Unlicense", "license": "Unlicense",
"repository": "https://git.bauke.xyz/Bauke/shareable-configs", "repository": "https://git.bauke.xyz/Bauke/shareable-configs",
"type": "module", "type": "module",

View File

@ -3,7 +3,7 @@
"license": "Unlicense", "license": "Unlicense",
"private": true, "private": true,
"scripts": { "scripts": {
"lint": "xo --extension astro ; xo --extension mdx ; stylelint '**/*.scss'" "lint": "xo && stylelint '**/*.scss'"
}, },
"devDependencies": { "devDependencies": {
"@bauke/eslint-config": "workspace:*", "@bauke/eslint-config": "workspace:*",
@ -17,8 +17,12 @@
"extends": "@bauke/stylelint-config" "extends": "@bauke/stylelint-config"
}, },
"xo": { "xo": {
"extensions": [
"astro",
"mdx",
"ts"
],
"extends": "@bauke/eslint-config", "extends": "@bauke/eslint-config",
"prettier": true,
"space": true "space": true
} }
} }

View File

@ -9,8 +9,3 @@ export const Header = () => {
}; };
<Header /> <Header />
## Contents
- Section 1
- Section 2

View File

@ -14,11 +14,13 @@ importers:
eslint: '>=8.28.0' eslint: '>=8.28.0'
eslint-plugin-astro: ^0.21.0 eslint-plugin-astro: ^0.21.0
eslint-plugin-mdx: ^2.0.5 eslint-plugin-mdx: ^2.0.5
eslint-plugin-prettier: ^4.2.1
devDependencies: devDependencies:
'@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
eslint: 8.28.0 eslint: 8.28.0
eslint-plugin-astro: 0.21.0_eslint@8.28.0 eslint-plugin-astro: 0.21.0_eslint@8.28.0
eslint-plugin-mdx: 2.0.5_eslint@8.28.0 eslint-plugin-mdx: 2.0.5_eslint@8.28.0
eslint-plugin-prettier: 4.2.1_5qrnzwqb344w6up62gv3safeoi
packages/prettier: packages/prettier:
specifiers: specifiers:
@ -209,7 +211,7 @@ packages:
resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==}
dependencies: dependencies:
'@types/eslint': 8.4.10 '@types/eslint': 8.4.10
'@types/estree': 1.0.0 '@types/estree': 0.0.51
dev: true dev: true
/@types/eslint/7.29.0: /@types/eslint/7.29.0:
@ -222,7 +224,7 @@ packages:
/@types/eslint/8.4.10: /@types/eslint/8.4.10:
resolution: {integrity: sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==} resolution: {integrity: sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==}
dependencies: dependencies:
'@types/estree': 1.0.0 '@types/estree': 0.0.51
'@types/json-schema': 7.0.11 '@types/json-schema': 7.0.11
dev: true dev: true
@ -280,41 +282,10 @@ packages:
resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==}
dev: true dev: true
/@types/semver/7.3.13:
resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==}
dev: true
/@types/unist/2.0.6: /@types/unist/2.0.6:
resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==}
dev: true dev: true
/@typescript-eslint/eslint-plugin/5.45.0_czs5uoqkd3podpy6vgtsxfc7au:
resolution: {integrity: sha512-CXXHNlf0oL+Yg021cxgOdMHNTXD17rHkq7iW6RFHoybdFgQBjU3yIXhhcPpGwr1CjZlo6ET8C6tzX5juQoXeGA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
'@typescript-eslint/scope-manager': 5.45.0
'@typescript-eslint/type-utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
'@typescript-eslint/utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
debug: 4.3.4
eslint: 8.28.0
ignore: 5.2.1
natural-compare-lite: 1.4.0
regexpp: 3.2.0
semver: 7.3.8
tsutils: 3.21.0_typescript@4.9.3
typescript: 4.9.3
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/parser/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a: /@typescript-eslint/parser/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a:
resolution: {integrity: sha512-brvs/WSM4fKUmF5Ot/gEve6qYiCMjm6w4HkHPfS6ZNmxTS0m0iNN4yOChImaCkqc1hRwFGqUyanMXuGal6oyyQ==} resolution: {integrity: sha512-brvs/WSM4fKUmF5Ot/gEve6qYiCMjm6w4HkHPfS6ZNmxTS0m0iNN4yOChImaCkqc1hRwFGqUyanMXuGal6oyyQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -343,26 +314,6 @@ packages:
'@typescript-eslint/visitor-keys': 5.45.0 '@typescript-eslint/visitor-keys': 5.45.0
dev: true dev: true
/@typescript-eslint/type-utils/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a:
resolution: {integrity: sha512-DY7BXVFSIGRGFZ574hTEyLPRiQIvI/9oGcN8t1A7f6zIs6ftbrU0nhyV26ZW//6f85avkwrLag424n+fkuoJ1Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 5.45.0_typescript@4.9.3
'@typescript-eslint/utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
debug: 4.3.4
eslint: 8.28.0
tsutils: 3.21.0_typescript@4.9.3
typescript: 4.9.3
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/types/5.45.0: /@typescript-eslint/types/5.45.0:
resolution: {integrity: sha512-QQij+u/vgskA66azc9dCmx+rev79PzX8uDHpsqSjEFtfF2gBUTRCpvYMh2gw2ghkJabNkPlSUCimsyBEQZd1DA==} resolution: {integrity: sha512-QQij+u/vgskA66azc9dCmx+rev79PzX8uDHpsqSjEFtfF2gBUTRCpvYMh2gw2ghkJabNkPlSUCimsyBEQZd1DA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -389,26 +340,6 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/utils/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a:
resolution: {integrity: sha512-OUg2JvsVI1oIee/SwiejTot2OxwU8a7UfTFMOdlhD2y+Hl6memUSL4s98bpUTo8EpVEr0lmwlU7JSu/p2QpSvA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
'@types/json-schema': 7.0.11
'@types/semver': 7.3.13
'@typescript-eslint/scope-manager': 5.45.0
'@typescript-eslint/types': 5.45.0
'@typescript-eslint/typescript-estree': 5.45.0_typescript@4.9.3
eslint: 8.28.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.28.0
semver: 7.3.8
transitivePeerDependencies:
- supports-color
- typescript
dev: true
/@typescript-eslint/visitor-keys/5.45.0: /@typescript-eslint/visitor-keys/5.45.0:
resolution: {integrity: sha512-jc6Eccbn2RtQPr1s7th6jJWQHBHI6GBVQkCHoJFQ5UreaKm59Vxw+ynQUPPY2u2Amquc+7tmEoC2G52ApsGNNg==} resolution: {integrity: sha512-jc6Eccbn2RtQPr1s7th6jJWQHBHI6GBVQkCHoJFQ5UreaKm59Vxw+ynQUPPY2u2Amquc+7tmEoC2G52ApsGNNg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -1141,21 +1072,6 @@ packages:
eslint: 8.28.0 eslint: 8.28.0
dev: true dev: true
/eslint-config-xo-typescript/0.55.1_2bg4zk75plhcth7wswe3tu5xji:
resolution: {integrity: sha512-iXua+7n9fOp7LzGzvXlcZG0w6cdtscjASGTrAHMj0Rn9voayxF2oRoMIK1QS6ZJb4fMVEQZdU2D6gTKmWhcCQQ==}
engines: {node: '>=12'}
peerDependencies:
'@typescript-eslint/eslint-plugin': '>=5.43.0'
'@typescript-eslint/parser': '>=5.43.0'
eslint: '>=8.0.0'
typescript: '>=4.4'
dependencies:
'@typescript-eslint/eslint-plugin': 5.45.0_czs5uoqkd3podpy6vgtsxfc7au
'@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
eslint: 8.28.0
typescript: 4.9.3
dev: true
/eslint-config-xo/0.43.1_eslint@8.28.0: /eslint-config-xo/0.43.1_eslint@8.28.0:
resolution: {integrity: sha512-azv1L2PysRA0NkZOgbndUpN+581L7wPqkgJOgxxw3hxwXAbJgD6Hqb/SjHRiACifXt/AvxCzE/jIKFAlI7XjvQ==} resolution: {integrity: sha512-azv1L2PysRA0NkZOgbndUpN+581L7wPqkgJOgxxw3hxwXAbJgD6Hqb/SjHRiACifXt/AvxCzE/jIKFAlI7XjvQ==}
engines: {node: '>=12'} engines: {node: '>=12'}
@ -1199,7 +1115,7 @@ packages:
array-find: 1.0.0 array-find: 1.0.0
debug: 3.2.7 debug: 3.2.7
enhanced-resolve: 0.9.1 enhanced-resolve: 0.9.1
eslint-plugin-import: 2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq eslint-plugin-import: 2.26.0_eslint@8.28.0
find-root: 1.1.0 find-root: 1.1.0
has: 1.0.3 has: 1.0.3
interpret: 1.4.0 interpret: 1.4.0
@ -1238,7 +1154,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-module-utils/2.7.4_kr6tb4mi2cmpd7whrqyyy67tyi: /eslint-module-utils/2.7.4_sjge656jyd3rr27cepuzx7h5u4:
resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -1259,7 +1175,6 @@ packages:
eslint-import-resolver-webpack: eslint-import-resolver-webpack:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
debug: 3.2.7 debug: 3.2.7
eslint: 8.28.0 eslint: 8.28.0
eslint-import-resolver-node: 0.3.6 eslint-import-resolver-node: 0.3.6
@ -1323,7 +1238,7 @@ packages:
ignore: 5.2.1 ignore: 5.2.1
dev: true dev: true
/eslint-plugin-import/2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq: /eslint-plugin-import/2.26.0_eslint@8.28.0:
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -1333,14 +1248,13 @@ packages:
'@typescript-eslint/parser': '@typescript-eslint/parser':
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
array-includes: 3.1.6 array-includes: 3.1.6
array.prototype.flat: 1.3.1 array.prototype.flat: 1.3.1
debug: 2.6.9 debug: 2.6.9
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.28.0 eslint: 8.28.0
eslint-import-resolver-node: 0.3.6 eslint-import-resolver-node: 0.3.6
eslint-module-utils: 2.7.4_kr6tb4mi2cmpd7whrqyyy67tyi eslint-module-utils: 2.7.4_sjge656jyd3rr27cepuzx7h5u4
has: 1.0.3 has: 1.0.3
is-core-module: 2.11.0 is-core-module: 2.11.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -1412,6 +1326,22 @@ packages:
is-proto-prop: 2.0.0 is-proto-prop: 2.0.0
dev: true dev: true
/eslint-plugin-prettier/4.2.1_5qrnzwqb344w6up62gv3safeoi:
resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}
engines: {node: '>=12.0.0'}
peerDependencies:
eslint: '>=7.28.0'
eslint-config-prettier: '*'
prettier: '>=2.0.0'
peerDependenciesMeta:
eslint-config-prettier:
optional: true
dependencies:
eslint: 8.28.0
prettier: 2.8.0
prettier-linter-helpers: 1.0.0
dev: true
/eslint-plugin-prettier/4.2.1_cwlo2dingkvfydnaculr42urve: /eslint-plugin-prettier/4.2.1_cwlo2dingkvfydnaculr42urve:
resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}
engines: {node: '>=12.0.0'} engines: {node: '>=12.0.0'}
@ -2961,10 +2891,6 @@ packages:
hasBin: true hasBin: true
dev: true dev: true
/natural-compare-lite/1.4.0:
resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==}
dev: true
/natural-compare/1.4.0: /natural-compare/1.4.0:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true dev: true
@ -4358,20 +4284,17 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@eslint/eslintrc': 1.3.3 '@eslint/eslintrc': 1.3.3
'@typescript-eslint/eslint-plugin': 5.45.0_czs5uoqkd3podpy6vgtsxfc7au
'@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a
arrify: 3.0.0 arrify: 3.0.0
cosmiconfig: 7.1.0 cosmiconfig: 7.1.0
define-lazy-prop: 3.0.0 define-lazy-prop: 3.0.0
eslint: 8.28.0 eslint: 8.28.0
eslint-config-prettier: 8.5.0_eslint@8.28.0 eslint-config-prettier: 8.5.0_eslint@8.28.0
eslint-config-xo: 0.43.1_eslint@8.28.0 eslint-config-xo: 0.43.1_eslint@8.28.0
eslint-config-xo-typescript: 0.55.1_2bg4zk75plhcth7wswe3tu5xji
eslint-formatter-pretty: 4.1.0 eslint-formatter-pretty: 4.1.0
eslint-import-resolver-webpack: 0.13.2_cpbkthufuku27qbvucozysaw6q eslint-import-resolver-webpack: 0.13.2_cpbkthufuku27qbvucozysaw6q
eslint-plugin-ava: 13.2.0_eslint@8.28.0 eslint-plugin-ava: 13.2.0_eslint@8.28.0
eslint-plugin-eslint-comments: 3.2.0_eslint@8.28.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.28.0
eslint-plugin-import: 2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq eslint-plugin-import: 2.26.0_eslint@8.28.0
eslint-plugin-n: 15.5.1_eslint@8.28.0 eslint-plugin-n: 15.5.1_eslint@8.28.0
eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-no-use-extend-native: 0.5.0
eslint-plugin-prettier: 4.2.1_cwlo2dingkvfydnaculr42urve eslint-plugin-prettier: 4.2.1_cwlo2dingkvfydnaculr42urve
@ -4395,6 +4318,7 @@ packages:
typescript: 4.9.3 typescript: 4.9.3
webpack: 5.75.0 webpack: 5.75.0
transitivePeerDependencies: transitivePeerDependencies:
- '@typescript-eslint/parser'
- eslint-import-resolver-typescript - eslint-import-resolver-typescript
- supports-color - supports-color
dev: true dev: true