Skip to content

Commit f3488aa

Browse files
hotfix: move .prettierrc to the right folder, whoops
1 parent 19d02d0 commit f3488aa

14 files changed

+176
-175
lines changed

.eslintrc.cjs

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
module.exports = {
2-
extends: [
3-
"eslint:recommended",
4-
"plugin:@typescript-eslint/recommended",
5-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
6-
"plugin:@typescript-eslint/strict",
7-
"prettier",
8-
],
9-
overrides: [
10-
{
11-
files: "**/*.test.ts",
12-
rules: {
13-
"@typescript-eslint/no-unsafe-assignment": "off",
14-
"@typescript-eslint/no-unsafe-call": "off",
15-
},
16-
},
17-
],
18-
parser: "@typescript-eslint/parser",
19-
parserOptions: {
20-
tsconfigRootDir: __dirname,
21-
project: ["./tsconfig.json"],
22-
},
23-
plugins: ["@typescript-eslint", "simple-import-sort"],
24-
root: true,
25-
rules: {
26-
"simple-import-sort/exports": "error",
27-
"simple-import-sort/imports": "error",
28-
},
2+
extends: [
3+
"eslint:recommended",
4+
"plugin:@typescript-eslint/recommended",
5+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
6+
"plugin:@typescript-eslint/strict",
7+
"prettier",
8+
],
9+
overrides: [
10+
{
11+
files: "**/*.test.ts",
12+
rules: {
13+
"@typescript-eslint/no-unsafe-assignment": "off",
14+
"@typescript-eslint/no-unsafe-call": "off",
15+
},
16+
},
17+
],
18+
parser: "@typescript-eslint/parser",
19+
parserOptions: {
20+
tsconfigRootDir: __dirname,
21+
project: ["./tsconfig.json"],
22+
},
23+
plugins: ["@typescript-eslint", "simple-import-sort"],
24+
root: true,
25+
rules: {
26+
"simple-import-sort/exports": "error",
27+
"simple-import-sort/imports": "error",
28+
},
2929
};

.markdownlint.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"first-line-h1": false,
3-
"no-hard-tabs": false,
4-
"no-inline-html": false,
5-
"line-length": false
2+
"first-line-h1": false,
3+
"no-hard-tabs": false,
4+
"no-inline-html": false,
5+
"line-length": false
66
}

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib/
File renamed without changes.

.releaserc.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"branches": ["main"],
3-
"plugins": [
4-
"@semantic-release/commit-analyzer",
5-
"@semantic-release/release-notes-generator",
6-
[
7-
"@semantic-release/changelog",
8-
{
9-
"changelogFile": "CHANGELOG.md"
10-
}
11-
],
12-
"@semantic-release/github",
13-
"@semantic-release/npm",
14-
[
15-
"@semantic-release/git",
16-
{
17-
"assets": [
18-
"docs",
19-
"lib",
20-
"package.json",
21-
"README.md",
22-
"src",
23-
"!src/**/*.test.*"
24-
],
25-
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
26-
}
27-
]
28-
]
2+
"branches": ["main"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
[
7+
"@semantic-release/changelog",
8+
{
9+
"changelogFile": "CHANGELOG.md"
10+
}
11+
],
12+
"@semantic-release/github",
13+
"@semantic-release/npm",
14+
[
15+
"@semantic-release/git",
16+
{
17+
"assets": [
18+
"docs",
19+
"lib",
20+
"package.json",
21+
"README.md",
22+
"src",
23+
"!src/**/*.test.*"
24+
],
25+
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
26+
}
27+
]
28+
]
2929
}

.vscode/extensions.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"recommendations": [
3-
"DavidAnson.vscode-markdownlint",
4-
"dbaeumer.vscode-eslint",
5-
"esbenp.prettier-vscode",
6-
"streetsidesoftware.code-spell-checker"
7-
]
2+
"recommendations": [
3+
"DavidAnson.vscode-markdownlint",
4+
"dbaeumer.vscode-eslint",
5+
"esbenp.prettier-vscode",
6+
"streetsidesoftware.code-spell-checker"
7+
]
88
}

.vscode/launch.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"args": ["run", "${relativeFile}"],
6-
"autoAttachChildProcesses": true,
7-
"console": "integratedTerminal",
8-
"name": "Debug Current Test File",
9-
"program": "${workspaceRoot}/node_modules/vitest/vitest.mjs",
10-
"request": "launch",
11-
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
12-
"smartStep": true,
13-
"type": "node"
14-
}
15-
]
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"args": ["run", "${relativeFile}"],
6+
"autoAttachChildProcesses": true,
7+
"console": "integratedTerminal",
8+
"name": "Debug Current Test File",
9+
"program": "${workspaceRoot}/node_modules/vitest/vitest.mjs",
10+
"request": "launch",
11+
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
12+
"smartStep": true,
13+
"type": "node"
14+
}
15+
]
1616
}

.vscode/settings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"editor.codeActionsOnSave": {
3-
"source.fixAll.eslint": true
4-
},
5-
"editor.defaultFormatter": "esbenp.prettier-vscode",
6-
"editor.formatOnSave": true,
7-
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
8-
"typescript.tsdk": "node_modules/typescript/lib"
2+
"editor.codeActionsOnSave": {
3+
"source.fixAll.eslint": true
4+
},
5+
"editor.defaultFormatter": "esbenp.prettier-vscode",
6+
"editor.formatOnSave": true,
7+
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
8+
"typescript.tsdk": "node_modules/typescript/lib"
99
}

cspell.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"dictionaries": ["typescript"],
3-
"ignorePaths": ["lib", "node_modules", "**/*.yml"],
4-
"words": ["commitlint"]
2+
"dictionaries": ["typescript"],
3+
"ignorePaths": ["lib", "node_modules", "**/*.yml"],
4+
"words": ["commitlint"]
55
}

package.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
{
2-
"author": "Josh Goldberg <[email protected]>",
3-
"description": "Template TypeScript Node.js package with all the CI bells & whistles I commonly use. ✨",
4-
"devDependencies": {
5-
"@semantic-release/changelog": "^6.0.1",
6-
"@semantic-release/commit-analyzer": "^9.0.2",
7-
"@semantic-release/git": "^10.0.1",
8-
"@semantic-release/github": "^8.0.6",
9-
"@semantic-release/npm": "^9.0.1",
10-
"@semantic-release/release-notes-generator": "^10.0.3",
11-
"@typescript-eslint/eslint-plugin": "^5.38.1",
12-
"@typescript-eslint/parser": "^5.38.1",
13-
"cspell": "^6.12.0",
14-
"eslint": "^8.24.0",
15-
"eslint-config-prettier": "^8.5.0",
16-
"eslint-plugin-simple-import-sort": "^8.0.0",
17-
"husky": ">=6",
18-
"lint-staged": ">=10",
19-
"markdownlint-cli": "^0.32.2",
20-
"prettier": "^2.7.1",
21-
"semantic-release": "^19.0.5",
22-
"typescript": "^4.8.4",
23-
"vitest": "^0.23.4"
24-
},
25-
"license": "MIT",
26-
"lint-staged": {
27-
"*": "prettier --ignore-unknown --write"
28-
},
29-
"name": "template-typescript-node-package",
30-
"scripts": {
31-
"build": "tsc",
32-
"format:write": "yarn format --write",
33-
"format": "prettier \"**/*\" --ignore-unknown",
34-
"lint:md": "npx markdownlint \"**/*.md\" \".github/**/*.md\"",
35-
"lint:spelling": "cspell \"**\" \".github/**/*\"",
36-
"lint": "npx eslint . --max-warnings 0 --report-unused-disable-directives",
37-
"prepare": "husky install",
38-
"test": "vitest"
39-
},
40-
"type": "module",
41-
"version": "1.1.0"
2+
"author": "Josh Goldberg <[email protected]>",
3+
"description": "Template TypeScript Node.js package with all the CI bells & whistles I commonly use. ✨",
4+
"devDependencies": {
5+
"@semantic-release/changelog": "^6.0.1",
6+
"@semantic-release/commit-analyzer": "^9.0.2",
7+
"@semantic-release/git": "^10.0.1",
8+
"@semantic-release/github": "^8.0.6",
9+
"@semantic-release/npm": "^9.0.1",
10+
"@semantic-release/release-notes-generator": "^10.0.3",
11+
"@typescript-eslint/eslint-plugin": "^5.38.1",
12+
"@typescript-eslint/parser": "^5.38.1",
13+
"cspell": "^6.12.0",
14+
"eslint": "^8.24.0",
15+
"eslint-config-prettier": "^8.5.0",
16+
"eslint-plugin-simple-import-sort": "^8.0.0",
17+
"husky": ">=6",
18+
"lint-staged": ">=10",
19+
"markdownlint-cli": "^0.32.2",
20+
"prettier": "^2.7.1",
21+
"semantic-release": "^19.0.5",
22+
"typescript": "^4.8.4",
23+
"vitest": "^0.23.4"
24+
},
25+
"license": "MIT",
26+
"lint-staged": {
27+
"*": "prettier --ignore-unknown --write"
28+
},
29+
"name": "template-typescript-node-package",
30+
"scripts": {
31+
"build": "tsc",
32+
"format:write": "yarn format --write",
33+
"format": "prettier \"**/*\" --ignore-unknown",
34+
"lint:md": "npx markdownlint \"**/*.md\" \".github/**/*.md\"",
35+
"lint:spelling": "cspell \"**\" \".github/**/*\"",
36+
"lint": "npx eslint . --max-warnings 0 --report-unused-disable-directives",
37+
"prepare": "husky install",
38+
"test": "vitest"
39+
},
40+
"type": "module",
41+
"version": "1.1.0"
4242
}

0 commit comments

Comments
 (0)