Skip to content

Commit 8e6ef35

Browse files
committed
style: Unify semi style
1 parent 7a941c8 commit 8e6ef35

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"singleQuote": true,
33
"trailingComma": "all",
44
"printWidth": 100,
5-
"semi": false,
5+
"semi": true,
66
"endOfLine": "lf"
77
}

eslint.config.mjs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import typescriptEslintEslintPlugin from '@typescript-eslint/eslint-plugin'
2-
import jest from 'eslint-plugin-jest'
3-
import globals from 'globals'
4-
import tsParser from '@typescript-eslint/parser'
5-
import path from 'node:path'
6-
import { fileURLToPath } from 'node:url'
7-
import js from '@eslint/js'
8-
import { FlatCompat } from '@eslint/eslintrc'
1+
import typescriptEslintEslintPlugin from '@typescript-eslint/eslint-plugin';
2+
import jest from 'eslint-plugin-jest';
3+
import globals from 'globals';
4+
import tsParser from '@typescript-eslint/parser';
5+
import path from 'node:path';
6+
import { fileURLToPath } from 'node:url';
7+
import js from '@eslint/js';
8+
import { FlatCompat } from '@eslint/eslintrc';
99

10-
const __filename = fileURLToPath(import.meta.url)
11-
const __dirname = path.dirname(__filename)
10+
const __filename = fileURLToPath(import.meta.url);
11+
const __dirname = path.dirname(__filename);
1212
const compat = new FlatCompat({
1313
baseDirectory: __dirname,
1414
recommendedConfig: js.configs.recommended,
1515
allConfig: js.configs.all,
16-
})
16+
});
1717

1818
export default [
1919
{
@@ -47,7 +47,7 @@ export default [
4747
},
4848
files: ['src/**/*.ts', 'test/**/*.ts'],
4949
rules: {
50-
'@typescript-eslint/explicit-function-return-type': 'warn',
50+
'@typescript-eslint/explicit-function-return-type': 'off',
5151
'@typescript-eslint/explicit-module-boundary-types': 'off',
5252
'@typescript-eslint/no-explicit-any': 'off',
5353

@@ -67,4 +67,4 @@ export default [
6767
],
6868
},
6969
},
70-
]
70+
];

0 commit comments

Comments
 (0)