We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d8f7a8 commit e8eee43Copy full SHA for e8eee43
example-app/SantokuApp/.eslintrc.js
@@ -42,6 +42,15 @@ module.exports = {
42
'jest/unbound-method': 'error',
43
},
44
45
+ {
46
+ files: ['*.ts', '*.tsx'],
47
+ excludedFiles: ['*.d.ts', 'jest/__mocks__/**'],
48
+ rules: {
49
+ // Prohibit default exports.
50
+ // https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-default-export.md
51
+ 'import/no-default-export': 'error',
52
+ },
53
54
{
55
files: ['*.ts', '*.tsx'],
56
rules: {
example-app/SantokuApp/orval.config.ts
@@ -1,5 +1,10 @@
1
import {defineConfig} from 'orval';
2
3
+/*
4
+ eslint-disable-next-line import/no-default-export --
5
+ Orvalのドキュメントに記載の通り、default exportする
6
+ https://orval.dev/reference/configuration/overview
7
+ */
8
export default defineConfig({
9
backend: {
10
output: {
0 commit comments