-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
2,588 additions
and
2,500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@alanlu-dev/eslint-config-flat": patch | ||
--- | ||
|
||
feat: init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@alanlu-dev/eslint-config-base": patch | ||
"@alanlu-dev/stylelint-config": patch | ||
"@alanlu-dev/notion-api-zod-schema": patch | ||
"@alanlu-dev/mastercss-config": patch | ||
"@alanlu-dev/changeset": patch | ||
"@alanlu-dev/nuxt-base": patch | ||
--- | ||
|
||
chore(deps): bump package versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import config from '@alanlu-dev/eslint-config-flat' | ||
|
||
export default config |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@alanlu-dev/web-kit", | ||
"type": "commonjs", | ||
"private": true, | ||
"packageManager": "[email protected].4", | ||
"packageManager": "[email protected].5", | ||
"description": "A monorepo build system and workflow for web projects.", | ||
"author": "Alan Lu <[email protected]> (https://github.com/alanlu-zyl)", | ||
"license": "MIT", | ||
|
@@ -15,7 +15,7 @@ | |
}, | ||
"engines": { | ||
"node": ">=20.12.2", | ||
"pnpm": ">=9.0.4", | ||
"pnpm": ">=9.0.5", | ||
"npm": "use pnpm please!", | ||
"yarn": "use pnpm please!" | ||
}, | ||
|
@@ -52,6 +52,7 @@ | |
"@alanlu-dev/changeset": "workspace:*", | ||
"@alanlu-dev/commitlint-config": "workspace:*", | ||
"@alanlu-dev/eslint-config-base": "workspace:*", | ||
"@alanlu-dev/eslint-config-flat": "workspace:*", | ||
"@alanlu-dev/lint-staged-config": "workspace:*", | ||
"@alanlu-dev/markdownlint-config": "workspace:*", | ||
"@alanlu-dev/mastercss-config": "workspace:*", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"extends": "@alanlu-dev/tsconfig/base.json", | ||
"compilerOptions": { | ||
"types": ["@alanlu-dev/types/globals"] | ||
"types": ["vitest/globals"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# @alanlu-dev/eslint-config-flat | ||
|
||
<p> | ||
<a href="https://github.com/alanlu-dev/web-kit/blob/main/packages/linters/eslint-config/flat/CHANGELOG.md"><img src="https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/eslint-config-flat%2A&style=flat" alt="Version"></a> | ||
<a href="https://www.npmjs.com/package/@alanlu-dev/eslint-config-flat"><img src="https://img.shields.io/npm/dm/@alanlu-dev/eslint-config-flat" alt="Downloads"></a> | ||
<a href="https://github.com/alanlu-dev/web-kit/blob/main/LICENSE"><img src="https://img.shields.io/github/license/alanlu-dev/web-kit?style=flat" alt="License"></a> | ||
</p> | ||
|
||
Shareable ESLint flag configuration. | ||
|
||
## Installation | ||
|
||
```bash | ||
pnpm add -D @alanlu-dev/eslint-config-flat | ||
``` | ||
|
||
## Usage | ||
|
||
Create a `eslint.config.mjs` file in the root of your project: | ||
|
||
```js | ||
import config from '@alanlu-dev/eslint-config-flat' | ||
|
||
export default config | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import config from './src/index.mjs' | ||
|
||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "@alanlu-dev/eslint-config-flat", | ||
"type": "module", | ||
"version": "0.0.0", | ||
"description": "Shareable eslint flat configuration.", | ||
"author": "Alan Lu <[email protected]> (https://github.com/alanlu-zyl)", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:alanlu-dev/web-kit.git", | ||
"directory": "packages/linters/eslint-config/flat" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/alanlu-dev/web-kit/issues" | ||
}, | ||
"exports": { | ||
".": "./src/index.mjs" | ||
}, | ||
"main": "src/index.mjs", | ||
"files": [ | ||
"src" | ||
], | ||
"scripts": { | ||
"lint:eslint": "eslint --fix .", | ||
"lint:prettier": "prettier --ignore-path ../../../../.prettierignore --write .", | ||
"lint": "pnpm lint:eslint && pnpm lint:prettier" | ||
}, | ||
"peerDependencies": { | ||
"@antfu/eslint-config": "^2.15.0", | ||
"@master/eslint-config-css": "2.0.0-rc.28", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-vitest": "^0.5.3" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.15.0", | ||
"@master/eslint-config-css": "2.0.0-rc.28", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-vitest": "^0.5.3" | ||
} | ||
} |
Oops, something went wrong.