-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3 new configurations added: /bun, /jsdoc, and /jsdoc-typescript #16
Changes from 16 commits
bb531bc
0ea25e0
b5185b0
fe9b80e
2b043d0
ba73ac9
07327ec
469dbdc
aba386f
f5ebeb5
38138ab
dd2c451
c702075
3cf8b4b
13c9547
980c54b
61bd2de
8dc2635
f6cf28b
fa3d256
ec19b83
3af1d9f
b2bc96a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
config/bun/bunfig.toml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[install] | ||
auto = "disable" | ||
exact = true |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,13 @@ | |
"reportUnusedDisableDirectives": true, | ||
"env": { | ||
"browser": false, | ||
"es2023": true, | ||
"es2024": true, | ||
"node": false | ||
}, | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"impliedStrict": true | ||
}, | ||
"ecmaVersion": 2023, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
|
@@ -39,10 +38,9 @@ | |
{ | ||
"groups": [ | ||
["builtin", "external"], | ||
["index", "internal", "parent", "sibling"], | ||
["index", "internal", "parent", "sibling", "unknown"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changes in this file don't seem to be documented in the Changelog There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added |
||
["type"], | ||
["object"], | ||
["unknown"] | ||
["object"] | ||
], | ||
"newlines-between": "always" | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": ["./eslintTypescriptConfig.json", "./eslintNodeConfig.json", "eslint-config-prettier"], | ||
"globals": { | ||
"Bun": "readonly" | ||
}, | ||
"settings": { | ||
"import/core-modules": ["bun", "bun:jsc", "bun:sql", "bun:sqlite", "bun:test"] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"plugins": ["eslint-plugin-jsdoc"], | ||
"rules": { | ||
"jsdoc/multiline-blocks": ["error", { "noSingleLineBlocks": true }], | ||
"jsdoc/no-bad-blocks": "error", | ||
"jsdoc/require-asterisk-prefix": "error", | ||
"jsdoc/require-description-complete-sentence": "error", | ||
"jsdoc/require-description": "error", | ||
"jsdoc/require-file-overview": "error", | ||
"jsdoc/require-hyphen-before-param-description": ["error", "never"], | ||
"jsdoc/sort-tags": "error" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": ["./eslintJsdocConfig.json", "plugin:jsdoc/recommended-typescript-error"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"plugins": ["eslint-plugin-playwright"], | ||
"extends": ["plugin:playwright/recommended", "./eslintNodeConfig.json", "eslint-config-prettier"], | ||
"extends": ["plugin:playwright/recommended"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Node.js can no longer be assumed. Could be Bun or Node. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"rules": { | ||
"playwright/prefer-strict-equal": "error", | ||
"playwright/prefer-to-be": "error", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,13 @@ | |
"parserOptions": { | ||
"project": ["./tsconfig.json"] | ||
}, | ||
"plugins": ["@typescript-eslint/eslint-plugin", "eslint-plugin-import"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"plugins": ["@typescript-eslint/eslint-plugin"], | ||
"extends": [ | ||
"plugin:import/typescript", | ||
"eslint-config-airbnb-typescript/base", | ||
"plugin:@typescript-eslint/recommended-type-checked", | ||
"plugin:@typescript-eslint/stylistic-type-checked", | ||
"./eslintBaseConfig.json", | ||
"eslint-config-prettier" | ||
"plugin:import/typescript" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. adding to |
||
], | ||
"env": { | ||
"browser": false, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could highlight the breaking changes here for ease of update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing, adding