Skip to content

Commit

Permalink
Merge pull request #19 from pheralb/next
Browse files Browse the repository at this point in the history
🧑‍🚀 v3.0.0-beta
  • Loading branch information
pheralb authored Mar 30, 2024
2 parents 08c90dc + d3d8a76 commit 0f01592
Show file tree
Hide file tree
Showing 176 changed files with 9,847 additions and 2,405 deletions.
41 changes: 41 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/** @type {import("eslint").Linter.Config} */
const config = {
parser: "@typescript-eslint/parser",
parserOptions: {
project: true,
},
plugins: ["@typescript-eslint"],
extends: [
"plugin:@next/next/recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
],
rules: {
// These opinionated rules are enabled in stylistic-type-checked above.
// Feel free to reconfigure them to your own preference.
"@typescript-eslint/array-type": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-call": "off",

"@typescript-eslint/consistent-type-imports": [
"warn",
{
prefer: "type-imports",
fixStyle: "inline-type-imports",
},
],
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
"@typescript-eslint/require-await": "off",
"@typescript-eslint/no-misused-promises": [
"error",
{
checksVoidReturn: { attributes: false },
},
],
},
};

module.exports = config;
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: pheralb
github: pheralb
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: ⚙️ Check

on:
push:
branches:
- main
- next
pull_request:
branches:
- main
- next

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup pnpm 8
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Run linter
run: |
pnpm run lint
env:
SKIP_ENV_VALIDATION: true

typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup pnpm 8
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Run typecheck
run: pnpm run typecheck
env:
SKIP_ENV_VALIDATION: true
35 changes: 22 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,50 @@
# Dependencies =>
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
package-lock.json
yarn.lock
pnpm-lock.json

# Testing =>
# testing
/coverage

# Database =>
# database
/prisma/db.sqlite
/prisma/db.sqlite-journal

# Next.js =>
# next.js
/.next/
/out/
next-env.d.ts

# Production =>
# production
/build

# Misc =>
# misc
.DS_Store
*.pem

# Debug =>
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# Local env files =>
# local env files
.env
.env*.local

# Vercel =>
# vercel
.vercel

# Typescript =>
# typescript
*.tsbuildinfo

# prisma & dump files
migrations
dev.db
dev.db-journal
mysql2sqlite
pscale*
db_dump.sql
dump-in-sqlite.db
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"dsznajder.es7-react-js-snippets",
"usernamehw.errorlens"
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
]
}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 0f01592

Please sign in to comment.