Skip to content

Commit 2693a49

Browse files
committed
tidy configs, update build
1 parent e0e4d0a commit 2693a49

File tree

19 files changed

+641
-146
lines changed

19 files changed

+641
-146
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ max_line_length = 120
1313
max_line_length = off
1414
trim_trailing_whitespace = false
1515

16+
[*.ts]
17+
ij_typescript_force_semicolon_style = true
18+
ij_typescript_use_semicolon_after_statement = true
19+
ij_typescript_spaces_within_imports = true
20+
1621
[*.json]
1722
ij_json_array_wrapping = off
1823
ij_json_keep_blank_lines_in_code = 0

eslint.config.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { config as bosh } from './src';
1010
export default defineConfig([
1111
{
1212
extends: [
13-
eslintPlugin.configs.all,
13+
eslintPlugin.configs['all-type-checked'],
1414
js.configs.recommended,
1515
tseslint.configs.recommended,
1616
nodePlugin.configs['flat/all'],
@@ -27,13 +27,6 @@ export default defineConfig([
2727
ecmaVersion: 'latest',
2828
project: ['./tsconfig.json']
2929
}
30-
},
31-
rules: {
32-
'import/extensions': 'off',
33-
'n/file-extension-in-import': 'off',
34-
'n/no-missing-import': 'off',
35-
'no-restricted-syntax': 'off',
36-
'ts/no-unnecessary-condition': 'off'
3730
}
3831
}
3932
]) as Linter.Config[];

package.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"name": "@bosh-code/eslint-plugin",
33
"version": "1.0.0",
4-
"description": "Ryan Bosher's ESLint plugin.",
4+
"description": "My personal opinionated ESLint configuration.",
55
"author": "Ryan Bosher <[email protected]>",
6+
"homepage": "https://github.com/bosh-code/eslint-plugin-bosh-code",
7+
"bugs": {
8+
"email": "[email protected]",
9+
"url": "https://github.com/bosh-code/eslint-plugin-bosh-code/issues"
10+
},
611
"contributors": [
712
{
813
"name": "Ryan Bosher",
@@ -58,7 +63,7 @@
5863
"dependencies": {
5964
"@eslint/js": "^9.35.0",
6065
"@tanstack/eslint-plugin-query": "^5.86.0",
61-
"@typescript-eslint/utils": "^8.43.0",
66+
"eslint-config-prettier": "^10.1.8",
6267
"eslint-plugin-eslint-comments": "^3.2.0",
6368
"eslint-plugin-import": "^2.32.0",
6469
"eslint-plugin-jsdoc": "^57.0.7",
@@ -73,16 +78,19 @@
7378
"eslint-plugin-simple-import-sort": "^12.1.1",
7479
"eslint-plugin-unicorn": "^61.0.2",
7580
"globals": "^16.4.0",
76-
"npm-run-all": "^4.1.5",
77-
"safe-publish-latest": "^2.0.0",
7881
"typescript-eslint": "^8.43.0"
7982
},
8083
"devDependencies": {
8184
"@types/node": "^24.3.3",
8285
"eslint": "^9.35.0",
8386
"eslint-plugin-eslint-plugin": "^7.0.0",
87+
"npm-run-all": "^4.1.5",
8488
"prettier": "^3.6.2",
89+
"publint": "^0.3.12",
90+
"rimraf": "^6.0.1",
91+
"safe-publish-latest": "^2.0.0",
8592
"tsdown": "^0.15.1",
86-
"typescript": "^5.9.2"
93+
"typescript": "^5.9.2",
94+
"unplugin-unused": "^0.5.3"
8795
}
8896
}

0 commit comments

Comments
 (0)