Skip to content

Commit

Permalink
Merge pull request #8 from JoshuaKGoldberg/create-typescript-app-1
Browse files Browse the repository at this point in the history
build: migrate to create-typescript-app@1
  • Loading branch information
JoshuaKGoldberg committed Nov 12, 2023
2 parents c6f5322 + 632f2c8 commit fefee1c
Show file tree
Hide file tree
Showing 142 changed files with 1,993 additions and 7,638 deletions.
248 changes: 20 additions & 228 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,230 +1,22 @@
{
"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"
]
},
{
"login": "kristo-baricevic",
"name": "Kristo Baricevic",
"avatar_url": "https://avatars.githubusercontent.com/u/108290619?v=4",
"profile": "https://kristo-baricevic.github.io/",
"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"
"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": ["tool", "code", "bug", "ideas", "maintenance"],
"login": "JoshuaKGoldberg",
"name": "Josh Goldberg",
"profile": "http://www.joshuakgoldberg.com"
}
],
"contributorsPerLine": 7,
"contributorsSortAlphabetically": true,
"files": ["README.md"],
"imageSize": 100,
"projectName": "sentences-per-line",
"projectOwner": "JoshuaKGoldberg",
"repoHost": "https://github.com",
"repoType": "github"
}
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
!.*
coverage*
coverage
lib
node_modules
pnpm-lock.yaml
36 changes: 18 additions & 18 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
/*
👋 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: {
Expand All @@ -20,7 +10,7 @@ module.exports = {
"plugin:n/recommended",
"plugin:perfectionist/recommended-natural",
"plugin:regexp/recommended",
"prettier",
"plugin:vitest/recommended",
],
overrides: [
{
Expand Down Expand Up @@ -53,6 +43,15 @@ module.exports = {
"jsdoc/require-returns": "off",
},
},
{
files: "**/*.md/*.ts",
rules: {
"n/no-missing-import": [
"error",
{ allowModules: ["sentences-per-line"] },
],
},
},
{
excludedFiles: ["**/*.md/*.ts"],
extends: [
Expand All @@ -65,16 +64,16 @@ module.exports = {
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.
// These rules need configuring for this repo and we like them on.
"@typescript-eslint/no-unnecessary-condition": [
"error",
{
allowConstantLoopConditions: true,
},
],

// These off-by-default rules work well for this repo and we like them on.
"deprecation/deprecation": "error",
},
},
{
Expand Down Expand Up @@ -127,31 +126,32 @@ module.exports = {
plugins: [
"@typescript-eslint",
"deprecation",
"import",
"jsdoc",
"no-only-tests",
"perfectionist",
"regexp",
"vitest",
],
reportUnusedDisableDirectives: true,
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",
"no-mixed-spaces-and-tabs": "off",

// Stylistic concerns that don't interfere with Prettier
"@typescript-eslint/padding-line-between-statements": [
"error",
{ blankLine: "always", next: "*", prev: "block-like" },
],
"no-useless-rename": "error",
"object-shorthand": "error",
"perfectionist/sort-objects": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
npm@joshuakgoldberg.com.
github@joshuakgoldberg.com.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
Loading

0 comments on commit fefee1c

Please sign in to comment.