1
Fork 0

Compare commits

..

No commits in common. "main" and "0.1.0" have entirely different histories.
main ... 0.1.0

16 changed files with 1805 additions and 2516 deletions

3
.envrc
View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
use flake

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
.direnv/
.turbo/
node_modules/
.turbo/

View File

@ -1,5 +0,0 @@
# Run the turbo lint task.
[tasks.lint]
clear = true
command = "turbo"
args = ["run", "lint"]

View File

@ -2,14 +2,6 @@
> **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

View File

@ -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
}

View File

@ -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; };
}
);
}

View File

@ -10,6 +10,6 @@
"lint": "turbo run lint"
},
"devDependencies": {
"turbo": "^1.10.7"
"turbo": "^1.6.3"
}
}

View File

@ -1,5 +1,8 @@
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"extends": [
"plugin:prettier/recommended"
],
"overrides": [
{
"extends": [
@ -32,14 +35,11 @@
{
"enforceForJSX": false
}
],
"no-unused-vars": "off"
]
}
}
],
"rules": {
"complexity": "off",
"no-await-in-loop": "off",
"quotes": [
"error",
"double"

View File

@ -1,24 +1,25 @@
{
"name": "@bauke/eslint-config",
"description": "Shareable ESLint configuration.",
"version": "0.1.5",
"version": "0.1.0",
"license": "Unlicense",
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
"type": "module",
"main": "eslint.json",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@typescript-eslint/parser": "^6.18.1",
"eslint": "^8.56.0",
"eslint-plugin-astro": "^0.31.1",
"eslint-plugin-mdx": "^3.1.5"
"@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"
},
"peerDependencies": {
"@typescript-eslint/parser": "^6.18.1",
"eslint": "^8.56.0",
"eslint-plugin-astro": "^0.31.1",
"eslint-plugin-mdx": "^3.1.5"
"@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"
}
}

View File

@ -1,18 +1,17 @@
{
"name": "@bauke/prettier-config",
"description": "Shareable Prettier configuration.",
"version": "0.1.5",
"version": "0.1.0",
"license": "Unlicense",
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
"type": "module",
"main": "prettier.json",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"prettier-plugin-astro": "^0.12.3"
"prettier-plugin-astro": "^0.7.0"
},
"peerDependencies": {
"prettier-plugin-astro": "^0.12.3"
"prettier-plugin-astro": "^0.7.0"
}
}

View File

@ -1,20 +1,19 @@
{
"name": "@bauke/stylelint-config",
"description": "Shareable Stylelint configuration.",
"version": "0.1.5",
"version": "0.1.0",
"license": "Unlicense",
"repository": "https://git.bauke.xyz/Bauke/shareable-configs",
"type": "module",
"main": "stylelint.json",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"stylelint": "^16.1.0",
"stylelint-config-standard-scss": "^13.0.0"
"stylelint": ">=14.15.0",
"stylelint-config-standard-scss": "^6.1.0"
},
"peerDependencies": {
"stylelint": "^16.1.0",
"stylelint-config-standard-scss": "^13.0.0"
"stylelint": ">=14.15.0",
"stylelint-config-standard-scss": "^6.1.0"
}
}

View File

@ -4,6 +4,7 @@
"stylelint-config-standard-scss"
],
"rules": {
"no-descending-specificity": null
"no-descending-specificity": null,
"string-quotes": "double"
}
}

View File

@ -3,22 +3,26 @@
"license": "Unlicense",
"private": true,
"scripts": {
"lint": "xo --extension astro ; xo --extension mdx ; stylelint '**/*.scss'"
"lint": "xo && stylelint '**/*.scss'"
},
"devDependencies": {
"@bauke/eslint-config": "workspace:*",
"@bauke/prettier-config": "workspace:*",
"@bauke/stylelint-config": "workspace:*",
"stylelint": "^16.1.0",
"xo": "^0.56.0"
"stylelint": "^14.15.0",
"xo": "^0.53.1"
},
"prettier": "@bauke/prettier-config",
"stylelint": {
"extends": "@bauke/stylelint-config"
},
"xo": {
"extensions": [
"astro",
"mdx",
"ts"
],
"extends": "@bauke/eslint-config",
"prettier": true,
"space": true
}
}

View File

@ -1,5 +1,3 @@
import AstroSample from "./sample.astro";
export const title = "Sample MDX";
export const Header = () => {
@ -11,10 +9,3 @@ export const Header = () => {
};
<Header />
## Contents
- Section 1
- Section 2
<AstroSample />

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell rec {
# Uncomment turbo when the build failures are fixed.
packages = [ cargo-make nodejs nodePackages.pnpm /*turbo*/ ];
}