Skip to content

Commit

Permalink
chore: update configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
tonai committed Nov 13, 2023
1 parent 1214efd commit ec53f2c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ out
build
dist
dist-ssr
tsconfig.tsbuildinfo

# dependencies
node_modules
.pnp
.pnp.js
.npm

# Logs
logs
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
},
],
rules: {
'@typescript-eslint/ban-types': ['error', { types: { Object: false } }],
'@typescript-eslint/consistent-type-imports': [
'error',
{ disallowTypeAnnotations: false },
Expand Down
3 changes: 3 additions & 0 deletions packages/eslint-config-custom/next.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
module.exports = {
extends: ['turbo', 'plugin:smile/next'],
rules: {
'@typescript-eslint/ban-types': ['error', { types: { Object: false } }],
},
};
3 changes: 2 additions & 1 deletion packages/test/src/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const config: Config = {
'\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'test/src/fileMock.ts',
},
setupFilesAfterEnv: ['<rootDir>/../test/setupTests.ts'],
roots: ['src'],
setupFilesAfterEnv: ['test/setupTests.ts'],
testEnvironment: 'jsdom',
transformIgnorePatterns: ['/node_modules/(?!(pretty-bytes)/)'],
};
Expand Down
1 change: 1 addition & 0 deletions packages/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveWatchOutput": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true
},
Expand Down

0 comments on commit ec53f2c

Please sign in to comment.