Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .eslintrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v6

- uses: actions/setup-node@v6
with:
node-version: 20

- name: Cache Yarn cache and node_modules
uses: actions/cache@v5
with:
path: |
.yarn/cache
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}

- name: Install dependencies
run: yarn install
run: yarn install --immutable

- name: Run tests
run: yarn test

- name: Check for untranspiled TypeScript code
run: |
tsc
yarn tsc
if [ -n "$(git status --porcelain)" ]; then
echo "Running 'tsc' should not result in any changes. Run 'tsc' before a commit.";
exit 1
Expand Down
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
node_modules
# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Visual studio
.vscode
942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.12.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules
enableGlobalCache: false
yarnPath: .yarn/releases/yarn-4.12.0.cjs
7 changes: 5 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

227 changes: 227 additions & 0 deletions dist/rules/__tests__/no-function-without-logging.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading