Skip to content

Commit

Permalink
feat: eslint config based antfu eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse484 committed Jun 22, 2024
1 parent d9aeaf3 commit 3626c96
Show file tree
Hide file tree
Showing 13 changed files with 6,035 additions and 10,796 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Node.js CI

on:
push:
branches: ['main']
branches: [main]
pull_request:
branches: ['main']
branches: [main]

jobs:
build:
Expand All @@ -24,6 +24,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: npm
- run: npm ci
- run: npm run format
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
cache: npm

- name: Install Dependencies
run: npm ci
Expand Down
3 changes: 0 additions & 3 deletions .prettierrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@mouse_484/config-docs",
"license": "MIT",
"private": true
"private": true,
"license": "MIT"
}
4 changes: 2 additions & 2 deletions docs/style-guide/JavaScript.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@

```js
{
foo: bar;
foo: bar
} // ture
{
foo: bar;
foo: bar
} // false
```

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 { mouse } from '@mouse_484/eslint-config'

export default mouse()
Loading

0 comments on commit 3626c96

Please sign in to comment.