Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating lint #167

Merged
merged 3 commits into from
May 31, 2023
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
273 changes: 0 additions & 273 deletions .eslintrc.js

This file was deleted.

27 changes: 27 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"linebreak-style": ["error", "unix"],
"prefer-const": "off",
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"semi": ["error", "never"]
}
}
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Question
about: Have a question or something to discuss?
title: ''
labels: ''
assignees: ''

---

## Questions & Discussion
To cut down on long-standing topics that are discussion-based, rather than actual issues, please opt for one of the following paths, when possible. These have the benefit of potentially helping others after the issue (here) would have been closed.
1. [Create a Discussion Topic](https://github.com/kwhitley/itty-router/discussions/new/choose)
2. [Discuss on Discord](https://discord.com/channels/832353585802903572)

Cheers!
File renamed without changes.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@
"nested"
],
"scripts": {
"dev": "yarn test",
"lint": "npx eslint src",
"test": "vitest --coverage --reporter verbose",
"test:once": "vitest run",
"coverage": "vitest run --coverage",
"coveralls": "yarn coverage && cat ./coverage/lcov.info | coveralls",
"verify": "echo 'verifying module...' && yarn build && yarn test:once",
"dev": "yarn test",
"prerelease": "yarn verify",
"prebuild": "rimraf dist && mkdir dist",
"build:core": "rollup -c",
"build:extras": "rollup --config rollup.config.extras.mjs",
"prebuild": "rimraf dist && mkdir dist && yarn coverage && yarn lint",
"build": "rollup -c",
"release": "release --tag --push --patch --src=dist",
"runtime:bun": "bun example/bun.ts",
Expand All @@ -51,12 +49,13 @@
"@rollup/plugin-typescript": "^11.1.1",
"@skypack/package-check": "^0.2.2",
"@types/node": "^20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vitejs/plugin-vue": "^4.2.3",
"@vitest/coverage-c8": "^0.31.3",
"@whatwg-node/server": "^0.8.1",
"coveralls": "^3.1.1",
"eslint": "^8.41.0",
"eslint-plugin-jest": "^27.2.1",
"fetch-mock": "^9.11.0",
"fs-extra": "^11.1.1",
"globby": "^13.1.4",
Expand Down
Loading