Compare commits
No commits in common. "main" and "0.1.0" have entirely different histories.
|
@ -1,3 +1,2 @@
|
||||||
.direnv/
|
|
||||||
.turbo/
|
|
||||||
node_modules/
|
node_modules/
|
||||||
|
.turbo/
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Run the turbo lint task.
|
|
||||||
[tasks.lint]
|
|
||||||
clear = true
|
|
||||||
command = "turbo"
|
|
||||||
args = ["run", "lint"]
|
|
|
@ -2,14 +2,6 @@
|
||||||
|
|
||||||
> **Miscellaneous shareable configuration files.**
|
> **Miscellaneous shareable configuration files.**
|
||||||
|
|
||||||
* [ESLint][eslint-config]
|
|
||||||
* [Prettier][prettier-config]
|
|
||||||
* [Stylelint][stylelint-config]
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Distributed under the [Unlicense](https://spdx.org/licenses/Unlicense.html) license, see [LICENSE](https://git.bauke.xyz/Bauke/shareable-configs/src/branch/main/LICENSE) for more information.
|
Distributed under the [Unlicense](https://spdx.org/licenses/Unlicense.html) license, see [LICENSE](https://git.bauke.xyz/Bauke/shareable-configs/src/branch/main/LICENSE) for more information.
|
||||||
|
|
||||||
[eslint-config]: https://git.bauke.xyz/Bauke/shareable-configs/src/branch/main/packages/eslint
|
|
||||||
[prettier-config]: https://git.bauke.xyz/Bauke/shareable-configs/src/branch/main/packages/prettier
|
|
||||||
[stylelint-config]: https://git.bauke.xyz/Bauke/shareable-configs/src/branch/main/packages/stylelint
|
|
||||||
|
|
59
flake.lock
59
flake.lock
|
@ -1,59 +0,0 @@
|
||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"flake-utils": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1705309234,
|
|
||||||
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1706173671,
|
|
||||||
"narHash": "sha256-lciR7kQUK2FCAYuszyd7zyRRmTaXVeoZsCyK6QFpGdk=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "4fddc9be4eaf195d631333908f2a454b03628ee5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"id": "nixpkgs",
|
|
||||||
"type": "indirect"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils",
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
13
flake.nix
13
flake.nix
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
|
||||||
let
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
devShells.default = import ./shell.nix { inherit pkgs; };
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
|
@ -10,6 +10,6 @@
|
||||||
"lint": "turbo run lint"
|
"lint": "turbo run lint"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"turbo": "^1.10.7"
|
"turbo": "^1.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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": [
|
||||||
|
@ -32,14 +35,11 @@
|
||||||
{
|
{
|
||||||
"enforceForJSX": false
|
"enforceForJSX": false
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"no-unused-vars": "off"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"complexity": "off",
|
|
||||||
"no-await-in-loop": "off",
|
|
||||||
"quotes": [
|
"quotes": [
|
||||||
"error",
|
"error",
|
||||||
"double"
|
"double"
|
||||||
|
|
|
@ -1,24 +1,25 @@
|
||||||
{
|
{
|
||||||
"name": "@bauke/eslint-config",
|
"name": "@bauke/eslint-config",
|
||||||
"description": "Shareable ESLint configuration.",
|
"description": "Shareable ESLint configuration.",
|
||||||
"version": "0.1.5",
|
"version": "0.1.0",
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "eslint.json",
|
"main": "eslint.json",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/parser": "^6.18.1",
|
"@typescript-eslint/parser": "^5.45.0",
|
||||||
"eslint": "^8.56.0",
|
"eslint": ">=8.28.0",
|
||||||
"eslint-plugin-astro": "^0.31.1",
|
"eslint-plugin-astro": "^0.21.0",
|
||||||
"eslint-plugin-mdx": "^3.1.5"
|
"eslint-plugin-mdx": "^2.0.5",
|
||||||
|
"eslint-plugin-prettier": "^4.2.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/parser": "^6.18.1",
|
"@typescript-eslint/parser": "^5.45.0",
|
||||||
"eslint": "^8.56.0",
|
"eslint": ">=8.28.0",
|
||||||
"eslint-plugin-astro": "^0.31.1",
|
"eslint-plugin-astro": "^0.21.0",
|
||||||
"eslint-plugin-mdx": "^3.1.5"
|
"eslint-plugin-mdx": "^2.0.5",
|
||||||
|
"eslint-plugin-prettier": "^4.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,17 @@
|
||||||
{
|
{
|
||||||
"name": "@bauke/prettier-config",
|
"name": "@bauke/prettier-config",
|
||||||
"description": "Shareable Prettier configuration.",
|
"description": "Shareable Prettier configuration.",
|
||||||
"version": "0.1.5",
|
"version": "0.1.0",
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "prettier.json",
|
"main": "prettier.json",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier-plugin-astro": "^0.12.3"
|
"prettier-plugin-astro": "^0.7.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"prettier-plugin-astro": "^0.12.3"
|
"prettier-plugin-astro": "^0.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,19 @@
|
||||||
{
|
{
|
||||||
"name": "@bauke/stylelint-config",
|
"name": "@bauke/stylelint-config",
|
||||||
"description": "Shareable Stylelint configuration.",
|
"description": "Shareable Stylelint configuration.",
|
||||||
"version": "0.1.5",
|
"version": "0.1.0",
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "stylelint.json",
|
"main": "stylelint.json",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"stylelint": "^16.1.0",
|
"stylelint": ">=14.15.0",
|
||||||
"stylelint-config-standard-scss": "^13.0.0"
|
"stylelint-config-standard-scss": "^6.1.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"stylelint": "^16.1.0",
|
"stylelint": ">=14.15.0",
|
||||||
"stylelint-config-standard-scss": "^13.0.0"
|
"stylelint-config-standard-scss": "^6.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"stylelint-config-standard-scss"
|
"stylelint-config-standard-scss"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-descending-specificity": null
|
"no-descending-specificity": null,
|
||||||
|
"string-quotes": "double"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,22 +3,26 @@
|
||||||
"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:*",
|
||||||
"@bauke/prettier-config": "workspace:*",
|
"@bauke/prettier-config": "workspace:*",
|
||||||
"@bauke/stylelint-config": "workspace:*",
|
"@bauke/stylelint-config": "workspace:*",
|
||||||
"stylelint": "^16.1.0",
|
"stylelint": "^14.15.0",
|
||||||
"xo": "^0.56.0"
|
"xo": "^0.53.1"
|
||||||
},
|
},
|
||||||
"prettier": "@bauke/prettier-config",
|
"prettier": "@bauke/prettier-config",
|
||||||
"stylelint": {
|
"stylelint": {
|
||||||
"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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import AstroSample from "./sample.astro";
|
|
||||||
|
|
||||||
export const title = "Sample MDX";
|
export const title = "Sample MDX";
|
||||||
|
|
||||||
export const Header = () => {
|
export const Header = () => {
|
||||||
|
@ -11,10 +9,3 @@ export const Header = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
<Header />
|
<Header />
|
||||||
|
|
||||||
## Contents
|
|
||||||
|
|
||||||
- Section 1
|
|
||||||
- Section 2
|
|
||||||
|
|
||||||
<AstroSample />
|
|
||||||
|
|
4149
pnpm-lock.yaml
4149
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue