Commit 8a4307b9 authored by tom's avatar tom

more fixes

parent f4ef8708
...@@ -243,4 +243,12 @@ module.exports = { ...@@ -243,4 +243,12 @@ module.exports = {
'regexp/no-useless-character-class': 'error', 'regexp/no-useless-character-class': 'error',
'regexp/no-useless-dollar-replacements': 'error', 'regexp/no-useless-dollar-replacements': 'error',
}, },
overrides: [
{
files: [ '*.js', '*.jsx' ],
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
},
],
}; };
// eslint-disable-next-line @typescript-eslint/no-var-requires
const withReactSvg = require('next-react-svg'); const withReactSvg = require('next-react-svg');
import path from 'path'; const path = require('path');
module.exports = withReactSvg({ module.exports = withReactSvg({
include: path.resolve(__dirname, 'icons'), include: path.resolve(__dirname, 'icons'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment