Skip to content
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

Bump @typescript-eslint/parser from 7.18.0 to 8.16.0 #708

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ce28112
Bump @typescript-eslint/parser from 7.18.0 to 8.16.0
dependabot[bot] Nov 27, 2024
8849790
update eslint to v9
prince-chrismc Nov 27, 2024
95fdee2
follow new documentation for github eslint plugin
prince-chrismc Nov 29, 2024
66b1be5
remove typescript which is pulled in from github plugin
prince-chrismc Nov 29, 2024
667eecb
remove nolonger transitive dep rule
prince-chrismc Nov 29, 2024
8674331
existing rule was moved
prince-chrismc Nov 29, 2024
a6248fb
rename moved rule
prince-chrismc Nov 29, 2024
ef0881e
disable moved rules
prince-chrismc Nov 29, 2024
37f587e
remove extra flatpacks
prince-chrismc Nov 29, 2024
aa9bb57
try less sections for typescript rules
prince-chrismc Nov 29, 2024
90cb03c
Merge branch 'main' into dependabot/npm_and_yarn/typescript-eslint/pa…
prince-chrismc Nov 29, 2024
01c1bbf
put back language options
prince-chrismc Nov 29, 2024
df96cfd
remove extra test settings for imports
prince-chrismc Nov 29, 2024
a8f3a1c
play with order
prince-chrismc Nov 29, 2024
d4043e0
trying to add compat back in
prince-chrismc Nov 29, 2024
46b030f
drop expand
prince-chrismc Nov 29, 2024
c293500
cleanup extras
prince-chrismc Nov 29, 2024
706be1f
drop specifying files
prince-chrismc Nov 29, 2024
dd32fc2
add more parser options
prince-chrismc Nov 29, 2024
db5eff9
change order again
prince-chrismc Nov 29, 2024
4ba4faa
Merge branch 'main' into dependabot/npm_and_yarn/typescript-eslint/pa…
prince-chrismc Dec 24, 2024
2f4ebd1
disable failing rule
prince-chrismc Dec 24, 2024
f02554d
disable broken rule
prince-chrismc Dec 24, 2024
ac9f3a6
disable failing rule
prince-chrismc Dec 24, 2024
4d0b7a4
disable failing rule
prince-chrismc Dec 24, 2024
3e500a0
disable failing rule
prince-chrismc Dec 24, 2024
7ebb5f5
disable failing rule
prince-chrismc Dec 24, 2024
235ce26
disable failing rule
prince-chrismc Dec 24, 2024
bf635de
Update eslint.config.mjs
prince-chrismc Dec 24, 2024
0126894
Update eslint.config.mjs
prince-chrismc Dec 24, 2024
5817b04
Update eslint.config.mjs
prince-chrismc Dec 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

54 changes: 0 additions & 54 deletions .eslintrc.json

This file was deleted.

76 changes: 76 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import github from 'eslint-plugin-github'
import globals from "globals";

export default [ {
files: [
"src/**/*.ts",
"__tests__/**/*.ts",
],
ignores: [
"**/dist/",
"**/lib/",
"**/node_modules/",
"**/jest.config.js",
],
languageOptions: {
globals: {
...globals.node,
},
ecmaVersion: 2023,
sourceType: "module",
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
project: "./tsconfig.json",
},
},
},
github.getFlatConfigs().recommended,
...github.getFlatConfigs().typescript, {
rules: {
"i18n-text/no-en": "off",
"import/no-namespace": "off",
"no-unused-vars": "error",
"@typescript-eslint/no-unused-vars": "error",

"@typescript-eslint/explicit-member-accessibility": ["error", {
accessibility: "no-public",
}],

"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/array-type": "error",
//"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": "error",
camelcase: "error",
"@typescript-eslint/consistent-type-assertions": "error",

"@typescript-eslint/explicit-function-return-type": ["error", {
allowExpressions: true,
}],

//"@stylistic/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-extraneous-class": "error",
//"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "error",
//"@typescript-eslint/no-unnecessary-qualifier": "error",
//"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-function-type": "error",
//"@typescript-eslint/prefer-includes": "error",
//"@typescript-eslint/prefer-string-starts-ends-with": "error",
//"@typescript-eslint/promise-function-async": "error",
//"@typescript-eslint/require-array-sort-compare": "error",
//"@typescript-eslint/restrict-plus-operands": "error",
//"@stylistic/semi": ["error", "never"],
//"@stylistic/type-annotation-spacing": "error",
//"@typescript-eslint/unbound-method": "error",
},
}];
Loading
Loading