generated from JoshuaKGoldberg/create-typescript-app
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4749ee7
Showing
147 changed files
with
13,960 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,221 @@ | ||
{ | ||
"badgeTemplate": "<img alt=\"All Contributors: <%= contributors.length %> 🤝\" src=\"https://img.shields.io/badge/all_contributors-<%= contributors.length %>_🤝-21bb42.svg\" />", | ||
"commit": false, | ||
"commitConvention": "angular", | ||
"contributors": [ | ||
{ | ||
"avatar_url": "https://avatars.githubusercontent.com/u/3335181?v=4", | ||
"contributions": [ | ||
"bug", | ||
"code", | ||
"maintenance", | ||
"review", | ||
"tool", | ||
"doc", | ||
"infra", | ||
"test" | ||
], | ||
"login": "JoshuaKGoldberg", | ||
"name": "Josh Goldberg", | ||
"profile": "http://www.joshuakgoldberg.com" | ||
}, | ||
{ | ||
"login": "sinchang", | ||
"name": "Jeff Wen", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/3297859?v=4", | ||
"profile": "https://sinchang.me", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "Pinjasaur", | ||
"name": "Paul Esch-Laurent", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/6335792?v=4", | ||
"profile": "https://paulisaweso.me/", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "NazCodeland", | ||
"name": "NazCodeland", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/113494366?v=4", | ||
"profile": "https://github.com/NazCodeland", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "johnnyreilly", | ||
"name": "John Reilly", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/1010525?v=4", | ||
"profile": "https://blog.johnnyreilly.com/", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "webpro", | ||
"name": "Lars Kappert", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/456426?v=4", | ||
"profile": "https://webpro.nl", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "RebeccaStevens", | ||
"name": "Rebecca Stevens", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/7224206?v=4", | ||
"profile": "https://github.com/RebeccaStevens", | ||
"contributions": [ | ||
"code", | ||
"infra" | ||
] | ||
}, | ||
{ | ||
"login": "ronthetech", | ||
"name": "Ron Jean-Francois", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/105710107?v=4", | ||
"profile": "http://ronjeanfrancois.com", | ||
"contributions": [ | ||
"code", | ||
"infra" | ||
] | ||
}, | ||
{ | ||
"login": "nowyDEV", | ||
"name": "Dominik Nowik", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/12304307?v=4", | ||
"profile": "https://github.com/nowyDEV", | ||
"contributions": [ | ||
"tool", | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "TAKANOME-DEV", | ||
"name": "takanomedev", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/79809121?v=4", | ||
"profile": "https://github.com/TAKANOME-DEV", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "emday4prez", | ||
"name": "Emerson", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/35363144?v=4", | ||
"profile": "https://github.com/emday4prez", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "jsjoeio", | ||
"name": "Joe Previte", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/3806031?v=4", | ||
"profile": "https://typescriptcourse.com/tutorials", | ||
"contributions": [ | ||
"bug", | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "navin-moorthy", | ||
"name": "Navin Moorthy", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/39694575?v=4", | ||
"profile": "https://navinmoorthy.me/", | ||
"contributions": [ | ||
"bug", | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "garuna-m6", | ||
"name": "Anurag", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/23234342?v=4", | ||
"profile": "https://github.com/garuna-m6", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "danielroe", | ||
"name": "Daniel Roe", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/28706372?v=4", | ||
"profile": "https://roe.dev/", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "the-lazy-learner", | ||
"name": "Sudhansu", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/13695177?v=4", | ||
"profile": "https://github.com/the-lazy-learner", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "RNR1", | ||
"name": "Ron Braha", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/45559220?v=4", | ||
"profile": "https://linktr.ee/ronbraha", | ||
"contributions": [ | ||
"code", | ||
"design", | ||
"test" | ||
] | ||
}, | ||
{ | ||
"login": "tungbq", | ||
"name": "Tung Bui (Leo)", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/85242618?v=4", | ||
"profile": "https://github.com/tungbq", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "orta", | ||
"name": "Orta Therox", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/49038?v=4", | ||
"profile": "https://orta.io", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "promise-dash", | ||
"name": "Promise Dash", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/86062880?v=4", | ||
"profile": "https://github.com/promise-dash", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "jolg42", | ||
"name": "Joël Galeran", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/1328733?v=4", | ||
"profile": "https://twitter.com/Jolg42", | ||
"contributions": [ | ||
"code" | ||
] | ||
} | ||
], | ||
"contributorsPerLine": 7, | ||
"contributorsSortAlphabetically": true, | ||
"files": [ | ||
"README.md" | ||
], | ||
"imageSize": 100, | ||
"projectName": "template-typescript-node-package", | ||
"projectOwner": "JoshuaKGoldberg", | ||
"repoHost": "https://github.com", | ||
"repoType": "github", | ||
"commitType": "docs" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
!.* | ||
coverage* | ||
lib | ||
node_modules | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
/* | ||
👋 Hi! This ESLint configuration contains a lot more stuff than many repos'! | ||
You can read from it to see all sorts of linting goodness, but don't worry - | ||
it's not something you need to exhaustively understand immediately. 💙 | ||
If you're interested in learning more, see the 'getting started' docs on: | ||
- ESLint: https://eslint.org | ||
- typescript-eslint: https://typescript-eslint.io | ||
*/ | ||
|
||
/** @type {import("@types/eslint").Linter.Config} */ | ||
module.exports = { | ||
env: { | ||
es2022: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:eslint-comments/recommended", | ||
"plugin:n/recommended", | ||
"plugin:perfectionist/recommended-natural", | ||
"plugin:regexp/recommended", | ||
"prettier", | ||
], | ||
overrides: [ | ||
{ | ||
extends: ["plugin:markdown/recommended"], | ||
files: ["**/*.md"], | ||
processor: "markdown/markdown", | ||
}, | ||
{ | ||
extends: [ | ||
"plugin:jsdoc/recommended-typescript-error", | ||
"plugin:@typescript-eslint/strict", | ||
"plugin:@typescript-eslint/stylistic", | ||
], | ||
files: ["**/*.ts"], | ||
parser: "@typescript-eslint/parser", | ||
rules: { | ||
// These off-by-default rules work well for this repo and we like them on. | ||
"jsdoc/informative-docs": "error", | ||
|
||
// These on-by-default rules don't work well for this repo and we like them off. | ||
"jsdoc/require-jsdoc": "off", | ||
"jsdoc/require-param": "off", | ||
"jsdoc/require-property": "off", | ||
"jsdoc/require-returns": "off", | ||
}, | ||
}, | ||
{ | ||
excludedFiles: ["**/*.md/*.ts"], | ||
extends: [ | ||
"plugin:@typescript-eslint/strict-type-checked", | ||
"plugin:@typescript-eslint/stylistic-type-checked", | ||
], | ||
files: ["**/*.ts"], | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: "./tsconfig.eslint.json", | ||
}, | ||
rules: { | ||
// These off-by-default rules work well for this repo and we like them on. | ||
"deprecation/deprecation": "error", | ||
|
||
// These more-strict-by-default rules don't work well for this repo and we like them less strict. | ||
"@typescript-eslint/no-unnecessary-condition": [ | ||
"error", | ||
{ | ||
allowConstantLoopConditions: true, | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
excludedFiles: ["package.json"], | ||
extends: ["plugin:jsonc/recommended-with-json"], | ||
files: ["*.json", "*.jsonc"], | ||
parser: "jsonc-eslint-parser", | ||
rules: { | ||
"jsonc/sort-keys": "error", | ||
}, | ||
}, | ||
{ | ||
files: ["*.jsonc"], | ||
rules: { | ||
"jsonc/no-comments": "off", | ||
}, | ||
}, | ||
{ | ||
files: "**/*.test.ts", | ||
rules: { | ||
// These on-by-default rules aren't useful in test files. | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-unsafe-call": "off", | ||
}, | ||
}, | ||
{ | ||
extends: ["plugin:yml/standard", "plugin:yml/prettier"], | ||
files: ["**/*.{yml,yaml}"], | ||
parser: "yaml-eslint-parser", | ||
rules: { | ||
"yml/file-extension": ["error", { extension: "yml" }], | ||
"yml/sort-keys": [ | ||
"error", | ||
{ | ||
order: { type: "asc" }, | ||
pathPattern: "^.*$", | ||
}, | ||
], | ||
"yml/sort-sequence-values": [ | ||
"error", | ||
{ | ||
order: { type: "asc" }, | ||
pathPattern: "^.*$", | ||
}, | ||
], | ||
}, | ||
}, | ||
], | ||
parser: "@typescript-eslint/parser", | ||
plugins: [ | ||
"@typescript-eslint", | ||
"deprecation", | ||
"import", | ||
"jsdoc", | ||
"no-only-tests", | ||
"perfectionist", | ||
"regexp", | ||
"vitest", | ||
], | ||
root: true, | ||
rules: { | ||
// These off/less-strict-by-default rules work well for this repo and we like them on. | ||
"@typescript-eslint/no-unused-vars": ["error", { caughtErrors: "all" }], | ||
"import/extensions": ["error", "ignorePackages"], | ||
"no-only-tests/no-only-tests": "error", | ||
|
||
// These on-by-default rules don't work well for this repo and we like them off. | ||
"n/no-missing-import": "off", | ||
"no-case-declarations": "off", | ||
"no-constant-condition": "off", | ||
"no-inner-declarations": "off", | ||
|
||
// Stylistic concerns that don't interfere with Prettier | ||
"@typescript-eslint/padding-line-between-statements": [ | ||
"error", | ||
{ blankLine: "always", next: "*", prev: "block-like" }, | ||
], | ||
"perfectionist/sort-objects": [ | ||
"error", | ||
{ | ||
order: "asc", | ||
"partition-by-comment": true, | ||
type: "natural", | ||
}, | ||
], | ||
}, | ||
}; |
Oops, something went wrong.