Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
adamburgess committed Jul 1, 2024
1 parent 24a9679 commit 86b94c5
Show file tree
Hide file tree
Showing 3 changed files with 1,387 additions and 1,142 deletions.
25 changes: 25 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// @ts-check

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: ['**/*.js', '**/*.d.ts']
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
parserOptions: {
project: true,
},
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['warn', {
varsIgnorePattern: '^_$',
}],
}
}
);
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@
"homepage": "https://github.com/adamburgess/linq#readme",
"devDependencies": {
"@adamburgess/nr": "^2.0.0",
"@eslint/js": "^9.6.0",
"@types/node": "^20.14.9",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"c8": "^10.1.2",
"delay": "^6.0.0",
"esbuild": "^0.22.0",
Expand All @@ -62,7 +61,8 @@
"source-map-support": "^0.5.21",
"ts-morph": "^23.0.0",
"typedoc": "^0.26.3",
"typescript": "^5.0.3",
"typescript": "^5.5.2",
"typescript-eslint": "8.0.0-alpha.38",
"zora": "4.1.0"
}
}
Loading

0 comments on commit 86b94c5

Please sign in to comment.