Skip to content

Commit 33ec03b

Browse files
Bump eslint from 8.57.1 to 9.15.0 (#900)
* Bump eslint from 8.57.1 to 9.15.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.15.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.1...v9.15.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update to the new eslint config format Signed-off-by: David Thompson <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: David Thompson <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Thompson <[email protected]>
1 parent 0ed053d commit 33ec03b

File tree

5 files changed

+242
-232
lines changed

5 files changed

+242
-232
lines changed

.eslintrc.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// @ts-check
2+
3+
import eslint from '@eslint/js';
4+
import tseslint from 'typescript-eslint';
5+
6+
export default tseslint.config(
7+
eslint.configs.recommended,
8+
tseslint.configs.recommended,
9+
{
10+
files: [ "src/**/*" ],
11+
rules: {
12+
"@typescript-eslint/no-unused-vars": [
13+
"warn",
14+
{
15+
"argsIgnorePattern": "^_",
16+
"caughtErrorsIgnorePattern": "^_"
17+
}
18+
],
19+
"@typescript-eslint/no-namespace": "off",
20+
"@typescript-eslint/no-explicit-any": "off",
21+
"@typescript-eslint/no-empty-function": "off",
22+
"@typescript-eslint/no-unused-expressions": "off",
23+
"@typescript-eslint/no-non-null-assertion": "off",
24+
"no-inner-declarations": "off"
25+
}
26+
}
27+
);
28+

0 commit comments

Comments
 (0)