- Eslint tried to search some configs in the node_modules folder, we ignore node_modules in the eslint config now. - Adapt next eslint to use next/babel.
15 lines
270 B
JavaScript
15 lines
270 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['people/next'],
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: ['./tsconfig.json'],
|
|
},
|
|
settings: {
|
|
next: {
|
|
rootDir: __dirname,
|
|
},
|
|
},
|
|
ignorePatterns: ['node_modules', '.eslintrc.js'],
|
|
};
|