Skip to content

Commit

Permalink
Release (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
capitnflam authored Mar 16, 2024
2 parents 132c730 + 203d603 commit bcefdc5
Show file tree
Hide file tree
Showing 9 changed files with 236 additions and 22 deletions.
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/"
interval: 'monthly'
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "monthly"
interval: 'monthly'
14 changes: 14 additions & 0 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Auto Author Assign

on:
pull_request_target:
types: [opened, reopened]

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/[email protected]
32 changes: 32 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: PR Check

on:
push:
branches-ignore:
- main

jobs:
pr-check:
name: PR Check
runs-on: ubuntu-latest
env:
HUSKY: 0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npm run type-check
- name: Build
run: npm run build
# - name: Test
# run: npm run test
171 changes: 160 additions & 11 deletions package-lock.json

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

15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,32 @@
"lint": "prettier --check .",
"pre-commit": "lint-staged",
"prepare": "husky",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"type-check": "tsc --pretty --noEmit"
},
"bugs": "https://github.com/capitnflam/eslint-plugin/issues",
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "4.1.0",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.34.0",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-no-unsanitized": "4.0.2",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unicorn": "51.0.1"
"eslint-plugin-security": "2.1.1",
"eslint-plugin-sonarjs": "0.24.0",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-xss": "0.1.12"
},
"devDependencies": {
"@commitlint/cli": "19.2.0",
"@commitlint/config-conventional": "19.1.0",
"@commitlint/types": "19.0.3",
"@types/eslint": "8.56.5",
"@types/node": "20.11.27",
"@types/node": "20.11.28",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
Expand Down
6 changes: 6 additions & 0 deletions src/configs/node.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { type ESLintConfig } from '../types'

export const node: ESLintConfig = {
plugins: ['@flaminc'],
extends: ['plugin:n/recommended'],
}
Loading

0 comments on commit bcefdc5

Please sign in to comment.