Skip to content

Commit

Permalink
Reinstall @dtdot/eslint-config and follow bootstrap instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
danielemery committed Dec 19, 2024
1 parent 3e968c5 commit df3197f
Show file tree
Hide file tree
Showing 6 changed files with 4,905 additions and 144 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Install packages
run: npm ci

- name: Lint
run: npm run lint

- name: Run unit tests
run: npm run test:ci

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/validate-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
- name: Install packages
run: npm ci

- name: Lint
run: npm run lint

- name: Run unit tests
run: npm run test:ci

Expand Down
13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const config = require('@dtdot/eslint-config');

module.exports = [
...config.eslint.configs.recommended,
{
rules: {
// Place any rule overrides in here
}
},
{
ignores: ['build', 'dist', 'eslint.config.*', 'prettier.config.*', 'src/generated/*'],
}
]
Loading

0 comments on commit df3197f

Please sign in to comment.