47f10301c8
* Set common package.json sideEffects: false * Configure SWC to modularize lodash imports * Import specific lodash functions instead of _ * Add an eslint rule to avoid full lodash import
11 lines
295 B
JavaScript
11 lines
295 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['lodash'],
|
|
extends: ['plugin:react-hooks/recommended', 'plugin:@next/next/recommended'],
|
|
rules: {
|
|
'@next/next/no-img-element': 'off',
|
|
'@next/next/no-typos': 'off',
|
|
'lodash/import-scope': [2, 'member'],
|
|
},
|
|
}
|