Skip to content

Commit

Permalink
Merge pull request #44 from HiDeoo/hd-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed Feb 15, 2024
2 parents d765545 + 2bd7082 commit ddbd7f6
Show file tree
Hide file tree
Showing 21 changed files with 767 additions and 718 deletions.
12 changes: 0 additions & 12 deletions .eslintrc.json

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v3

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 18
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v3

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 18
Expand Down
3 changes: 1 addition & 2 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"**/*": "prettier -w -u --cache",
"!(fixtures/**/*)*.ts": "eslint --cache --max-warnings=0"
"**/*": ["prettier -w -u --cache", "eslint --cache --no-warn-ignored --max-warnings=0"]
}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"eslint.experimental.useFlatConfig": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"astro"
]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Either **create** a new app from scratch (in the current directory or a new dire
### Tools

- TypeScript with a configuration extending [@hideoo/tsconfig](https://github.com/HiDeoo/tsconfig)
- ESLint with a configuration extending [@hideoo/eslint-config](https://github.com/HiDeoo/eslint-config)
- ESLint with a flat configuration extending [@hideoo/eslint-config](https://github.com/HiDeoo/eslint-config)
- Prettier with a configuration extending [@hideoo/prettier-config](https://github.com/HiDeoo/prettier-config) and a pre-filled `.prettierignore` file

### Package.json
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import hideoo from '@hideoo/eslint-config'

export default hideoo([{ ignores: ['**/fixtures'] }])
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,16 @@
"validate-npm-package-name": "5.0.0"
},
"devDependencies": {
"@hideoo/eslint-config": "2.0.1",
"@hideoo/eslint-config": "3.0.0",
"@hideoo/prettier-config": "2.0.0",
"@hideoo/tsconfig": "2.0.1",
"@types/common-tags": "1.8.1",
"@types/eslint": "8.44.2",
"@types/lodash.merge": "4.6.7",
"@types/node": "18.17.12",
"@types/prompts": "2.4.4",
"@types/sort-object-keys": "1.1.0",
"@types/validate-npm-package-name": "4.0.0",
"eslint": "8.48.0",
"eslint": "8.56.0",
"husky": "8.0.3",
"lint-staged": "14.0.1",
"prettier": "3.0.3",
Expand Down
Loading

0 comments on commit ddbd7f6

Please sign in to comment.