Skip to content

Commit d0c4216

Browse files
authored
feat(config): add support for flat config
1 parent 2546264 commit d0c4216

34 files changed

+1264
-311
lines changed

.eslintrc.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ jobs:
2323
run: npm run eslint
2424
- name: Run prettier
2525
run: npm run prettier -- --check
26+
test:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Install modules
31+
run: npm install
32+
- name: Run tests
33+
run: npm run test

.lintstagedrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

.prettierignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Mac file
2+
.DS_Store
3+
4+
# Auto-generated directories.
5+
node_modules
6+
dist
7+
8+
# Lock files.
9+
package-lock.json
10+
11+
# Do not ignore config files.
12+
!.*.js
File renamed without changes.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
module.exports = {
1+
const config = {
22
extends: ["@commitlint/config-conventional"],
33
};
4+
5+
export default config;

0 commit comments

Comments
 (0)