|
|
@@ -1,15 +1,10 @@
|
|
|
module.exports = {
|
|
|
extends: [
|
|
|
'next/core-web-vitals',
|
|
|
- 'plugin:jest/recommended',
|
|
|
],
|
|
|
plugins: [
|
|
|
- 'jest',
|
|
|
'regex',
|
|
|
],
|
|
|
- env: {
|
|
|
- 'jest/globals': true,
|
|
|
- },
|
|
|
settings: {
|
|
|
// resolve path aliases by eslint-import-resolver-typescript
|
|
|
'import/resolver': {
|
|
|
@@ -35,11 +30,6 @@ module.exports = {
|
|
|
// set 'warn' temporarily -- 2021.08.02 Yuki Takei
|
|
|
'@typescript-eslint/no-use-before-define': ['warn'],
|
|
|
'@typescript-eslint/no-this-alias': ['warn'],
|
|
|
- 'jest/no-done-callback': ['warn'],
|
|
|
- 'jest/no-standalone-expect': [
|
|
|
- 'error',
|
|
|
- { additionalTestBlockFunctions: ['each.test'] },
|
|
|
- ],
|
|
|
},
|
|
|
overrides: [
|
|
|
{
|