more fixes

This commit is contained in:
tom
2022-07-18 20:59:16 +03:00
parent 48419422a4
commit 3853130d7f
2 changed files with 9 additions and 2 deletions
+8
View File
@@ -243,4 +243,12 @@ module.exports = {
'regexp/no-useless-character-class': 'error',
'regexp/no-useless-dollar-replacements': 'error',
},
overrides: [
{
files: [ '*.js', '*.jsx' ],
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
},
],
};
+1 -2
View File
@@ -1,6 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const withReactSvg = require('next-react-svg');
import path from 'path';
const path = require('path');
module.exports = withReactSvg({
include: path.resolve(__dirname, 'icons'),