Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c4687fa

Browse files
committedDec 13, 2024·
wip
1 parent 50cb780 commit c4687fa

File tree

93 files changed

+672
-8011
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+672
-8011
lines changed
 

‎.eslintrc

-5
This file was deleted.

‎.eslintrc.cjs

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/** @type {import("eslint").Linter.Config} */
2+
const config = {
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
project: true,
6+
},
7+
plugins: ['@typescript-eslint'],
8+
extends: [
9+
'next/core-web-vitals',
10+
'plugin:@typescript-eslint/recommended-type-checked',
11+
'plugin:@typescript-eslint/stylistic-type-checked',
12+
],
13+
rules: {
14+
'@typescript-eslint/array-type': 'off',
15+
'@typescript-eslint/consistent-type-definitions': 'off',
16+
'@typescript-eslint/consistent-type-imports': [
17+
'warn',
18+
{
19+
prefer: 'type-imports',
20+
fixStyle: 'inline-type-imports',
21+
},
22+
],
23+
'@typescript-eslint/no-unused-vars': [
24+
'warn',
25+
{
26+
argsIgnorePattern: '^_',
27+
},
28+
],
29+
'@typescript-eslint/require-await': 'off',
30+
'@typescript-eslint/no-misused-promises': [
31+
'error',
32+
{
33+
checksVoidReturn: {
34+
attributes: false,
35+
},
36+
},
37+
],
38+
},
39+
};
40+
module.exports = config;

0 commit comments

Comments
 (0)
Please sign in to comment.