Skip to content

Commit

Permalink
Add type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed May 4, 2024
1 parent 541fb15 commit 65eb645
Show file tree
Hide file tree
Showing 7 changed files with 1,054 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm run test:examples
- run: npm run types
- run: npm pack
- uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
test/
*.d.ts
codeyourfuture-eslint-config-standard-*.tgz
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use strict";
const lax = require("./lax");

/** @type {import("eslint").Linter.FlatConfig} */
module.exports = {
rules: {
...lax.rules,
Expand Down
1 change: 1 addition & 0 deletions lax.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use strict";
const { configs: { recommended } } = require("@eslint/js");

/** @type {import("eslint").Linter.FlatConfig} */
module.exports = {
rules: {
...recommended.rules,
Expand Down
Loading

0 comments on commit 65eb645

Please sign in to comment.