Compare commits
21 Commits
Author | SHA1 | Date |
---|---|---|
Bauke | 7b2e19ea71 | |
Bauke | 50b6d4623e | |
Bauke | 46b0eb9031 | |
Bauke | f0376ab2c4 | |
Bauke | 0a72ce2a44 | |
Bauke | de2c4138b9 | |
Bauke | b33d456dd4 | |
Bauke | 9309dad020 | |
Bauke | 7a29bba1fc | |
Bauke | 3b265df2f8 | |
Bauke | 6fdc66e727 | |
Bauke | 9069280c83 | |
Bauke | ad605abe8d | |
Bauke | a5ef541133 | |
Bauke | 3f594c3287 | |
Bauke | 20e40118ae | |
Bauke | d09f1c93f1 | |
Bauke | bd9b879795 | |
Bauke | c002c338af | |
Bauke | 119bec7146 | |
Bauke | 9f564fc6fa |
|
@ -1,2 +1,3 @@
|
|||
node_modules/
|
||||
.direnv/
|
||||
.turbo/
|
||||
node_modules/
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# Run the turbo lint task.
|
||||
[tasks.lint]
|
||||
clear = true
|
||||
command = "turbo"
|
||||
args = ["run", "lint"]
|
|
@ -2,6 +2,14 @@
|
|||
|
||||
> **Miscellaneous shareable configuration files.**
|
||||
|
||||
* [ESLint][eslint-config]
|
||||
* [Prettier][prettier-config]
|
||||
* [Stylelint][stylelint-config]
|
||||
|
||||
## 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.
|
||||
|
||||
[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
|
||||
|
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
"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
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"turbo": "^1.6.3"
|
||||
"turbo": "^1.10.7"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/eslintrc.json",
|
||||
"extends": [
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"extends": [
|
||||
|
@ -35,11 +32,14 @@
|
|||
{
|
||||
"enforceForJSX": false
|
||||
}
|
||||
]
|
||||
],
|
||||
"no-unused-vars": "off"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rules": {
|
||||
"complexity": "off",
|
||||
"no-await-in-loop": "off",
|
||||
"quotes": [
|
||||
"error",
|
||||
"double"
|
||||
|
|
|
@ -1,25 +1,24 @@
|
|||
{
|
||||
"name": "@bauke/eslint-config",
|
||||
"description": "Shareable ESLint configuration.",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.5",
|
||||
"license": "Unlicense",
|
||||
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
|
||||
"type": "module",
|
||||
"main": "eslint.json",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/parser": "^5.45.0",
|
||||
"eslint": ">=8.28.0",
|
||||
"eslint-plugin-astro": "^0.21.0",
|
||||
"eslint-plugin-mdx": "^2.0.5",
|
||||
"eslint-plugin-prettier": "^4.2.1"
|
||||
"@typescript-eslint/parser": "^6.18.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-astro": "^0.31.1",
|
||||
"eslint-plugin-mdx": "^3.1.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@typescript-eslint/parser": "^5.45.0",
|
||||
"eslint": ">=8.28.0",
|
||||
"eslint-plugin-astro": "^0.21.0",
|
||||
"eslint-plugin-mdx": "^2.0.5",
|
||||
"eslint-plugin-prettier": "^4.2.1"
|
||||
"@typescript-eslint/parser": "^6.18.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-astro": "^0.31.1",
|
||||
"eslint-plugin-mdx": "^3.1.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{
|
||||
"name": "@bauke/prettier-config",
|
||||
"description": "Shareable Prettier configuration.",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.5",
|
||||
"license": "Unlicense",
|
||||
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
|
||||
"type": "module",
|
||||
"main": "prettier.json",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier-plugin-astro": "^0.7.0"
|
||||
"prettier-plugin-astro": "^0.12.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"prettier-plugin-astro": "^0.7.0"
|
||||
"prettier-plugin-astro": "^0.12.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
{
|
||||
"name": "@bauke/stylelint-config",
|
||||
"description": "Shareable Stylelint configuration.",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.5",
|
||||
"license": "Unlicense",
|
||||
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
|
||||
"type": "module",
|
||||
"main": "stylelint.json",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"stylelint": ">=14.15.0",
|
||||
"stylelint-config-standard-scss": "^6.1.0"
|
||||
"stylelint": "^16.1.0",
|
||||
"stylelint-config-standard-scss": "^13.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"stylelint": ">=14.15.0",
|
||||
"stylelint-config-standard-scss": "^6.1.0"
|
||||
"stylelint": "^16.1.0",
|
||||
"stylelint-config-standard-scss": "^13.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
"stylelint-config-standard-scss"
|
||||
],
|
||||
"rules": {
|
||||
"no-descending-specificity": null,
|
||||
"string-quotes": "double"
|
||||
"no-descending-specificity": null
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,26 +3,22 @@
|
|||
"license": "Unlicense",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"lint": "xo && stylelint '**/*.scss'"
|
||||
"lint": "xo --extension astro ; xo --extension mdx ; stylelint '**/*.scss'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bauke/eslint-config": "workspace:*",
|
||||
"@bauke/prettier-config": "workspace:*",
|
||||
"@bauke/stylelint-config": "workspace:*",
|
||||
"stylelint": "^14.15.0",
|
||||
"xo": "^0.53.1"
|
||||
"stylelint": "^16.1.0",
|
||||
"xo": "^0.56.0"
|
||||
},
|
||||
"prettier": "@bauke/prettier-config",
|
||||
"stylelint": {
|
||||
"extends": "@bauke/stylelint-config"
|
||||
},
|
||||
"xo": {
|
||||
"extensions": [
|
||||
"astro",
|
||||
"mdx",
|
||||
"ts"
|
||||
],
|
||||
"extends": "@bauke/eslint-config",
|
||||
"prettier": true,
|
||||
"space": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import AstroSample from "./sample.astro";
|
||||
|
||||
export const title = "Sample MDX";
|
||||
|
||||
export const Header = () => {
|
||||
|
@ -9,3 +11,10 @@ export const Header = () => {
|
|||
};
|
||||
|
||||
<Header />
|
||||
|
||||
## Contents
|
||||
|
||||
- Section 1
|
||||
- Section 2
|
||||
|
||||
<AstroSample />
|
||||
|
|
4141
pnpm-lock.yaml
4141
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue