|
|
@ -1,14 +1,17 @@
|
|
|
|
const fs = require('fs');
|
|
|
|
const fs = require('fs');
|
|
|
|
|
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const frontendFolder = __dirname;
|
|
|
|
|
|
|
|
|
|
|
|
const dirs = fs
|
|
|
|
const dirs = fs
|
|
|
|
.readdirSync('frontend/src', { withFileTypes: true })
|
|
|
|
.readdirSync(path.join(frontendFolder, 'src'), { withFileTypes: true })
|
|
|
|
.filter((dirent) => dirent.isDirectory())
|
|
|
|
.filter((dirent) => dirent.isDirectory())
|
|
|
|
.map((dirent) => dirent.name)
|
|
|
|
.map((dirent) => dirent.name)
|
|
|
|
.join('|');
|
|
|
|
.join('|');
|
|
|
|
|
|
|
|
|
|
|
|
const frontendFolder = __dirname;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
root: true,
|
|
|
|
|
|
|
|
|
|
|
|
parser: '@babel/eslint-parser',
|
|
|
|
parser: '@babel/eslint-parser',
|
|
|
|
|
|
|
|
|
|
|
|
env: {
|
|
|
|
env: {
|
|
|
|