Skip to content

Commit cfc14a2

Browse files
Unnecessary + 2
1 parent 1217e12 commit cfc14a2

File tree

9 files changed

+371
-518
lines changed

9 files changed

+371
-518
lines changed

Diff for: .all-contributorsrc

+360-475
Large diffs are not rendered by default.

Diff for: .github/codecov.yml

-5
This file was deleted.

Diff for: .github/workflows/ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ jobs:
5858
- uses: ./.github/actions/prepare
5959
- run: pnpm run test --coverage
6060
- uses: codecov/codecov-action@v3
61-
with:
62-
flags: unit
6361
type_check:
6462
name: Type Check
6563
runs-on: ubuntu-latest

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
coverage*/
1+
coverage/
22
lib/
33
node_modules/

Diff for: .prettierignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.all-contributorsrc
22
.husky/
3-
coverage*/
3+
coverage/
44
lib/
55
pnpm-lock.yaml

Diff for: cspell.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"dictionaries": ["typescript"],
33
"ignorePaths": [
4-
"./coverage*",
5-
"./script/__snapshots__",
64
".github",
75
"CHANGELOG.md",
6+
"coverage",
87
"lib",
98
"node_modules",
109
"pnpm-lock.yaml"
@@ -14,23 +13,24 @@
1413
"apexskier",
1514
"arethetypeswrong",
1615
"automerge",
17-
"codecov",
1816
"codespace",
1917
"contributorsrc",
2018
"execa",
2119
"infile",
20+
"joshuakgoldberg",
2221
"knip",
22+
"markdownlint",
2323
"markdownlintignore",
2424
"mtfoley",
2525
"npmignore",
2626
"npmpackagejsonlintrc",
2727
"outro",
2828
"packagejson",
29-
"precommit",
3029
"quickstart",
3130
"tada",
3231
"tseslint",
3332
"tsup",
34-
"vitest"
33+
"vitest",
34+
"wontfix"
3535
]
3636
}

Diff for: eslint.config.js

+1-25
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
/*
2-
👋 Hi! This ESLint configuration contains a lot more stuff than many repos'!
3-
You can read from it to see all sorts of linting goodness, but don't worry -
4-
it's not something you need to exhaustively understand immediately. 💙
5-
6-
If you're interested in learning more, see the 'getting started' docs on:
7-
- ESLint: https://eslint.org
8-
- typescript-eslint: https://typescript-eslint.io
9-
*/
10-
111
import eslint from "@eslint/js";
122
import comments from "@eslint-community/eslint-plugin-eslint-comments/configs";
133
import jsdoc from "eslint-plugin-jsdoc";
@@ -56,7 +46,7 @@ export default tseslint.config(
5646
languageOptions: {
5747
parserOptions: {
5848
projectService: {
59-
allowDefaultProject: ["*.config.*s", "bin/*.js", "script/*.ts"],
49+
allowDefaultProject: ["*.*s", "eslint.config.js"],
6050
defaultProject: "./tsconfig.json",
6151
},
6252
tsconfigRootDir: import.meta.dirname,
@@ -81,21 +71,7 @@ export default tseslint.config(
8171
"no-constant-condition": "off",
8272

8373
// These on-by-default rules work well for this repo if configured
84-
"@typescript-eslint/no-unnecessary-condition": [
85-
"error",
86-
{
87-
allowConstantLoopConditions: true,
88-
},
89-
],
9074
"@typescript-eslint/no-unused-vars": ["error", { caughtErrors: "all" }],
91-
"@typescript-eslint/prefer-nullish-coalescing": [
92-
"error",
93-
{ ignorePrimitives: true },
94-
],
95-
"@typescript-eslint/restrict-template-expressions": [
96-
"error",
97-
{ allowBoolean: true, allowNullish: true, allowNumber: true },
98-
],
9975
"n/no-unsupported-features/node-builtins": [
10076
"error",
10177
{ allowExperimental: true },

Diff for: knip.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/knip@latest/schema.json",
3-
"entry": ["src/index.ts!", "script/*e2e.js"],
4-
"ignoreBinaries": ["gh"],
3+
"entry": ["src/index.ts!"],
54
"ignoreExportsUsedInFile": { "interface": true, "type": true },
6-
"project": ["src/**/*.ts!", "script/**/*.js"]
5+
"project": ["src/**/*.ts!"]
76
}

Diff for: src/steps/writeReadme/findIntroSectionClose.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function findIntroSectionClose(contents: string) {
55
const projectLogoMatch =
66
/<img align="right" alt="Project logo.+" src=".+">/.exec(contents);
77
if (projectLogoMatch) {
8-
return contents.indexOf("\n", projectLogoMatch.index + 2) + 2;
8+
return contents.indexOf("\n", projectLogoMatch.index) + 2;
99
}
1010

1111
// Next: before a first code block or h2, presumably following badges

0 commit comments

Comments
 (0)