PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/nx
Просмотр файла: .eslintrc.json
{
"extends": "../../.eslintrc",
"rules": {},
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.ts"],
"excludedFiles": ["*.spec.ts"],
"rules": {
"@typescript-eslint/no-restricted-imports": [
"error",
{
"paths": [
{
"name": "typescript",
"message": "TypeScript is an optional dependency for Nx. If you need to use it, make sure its installed first with ensureTypescript.",
"allowTypeImports": true
}
]
}
]
}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
},
{
"files": ["./package.json", "./executors.json", "./migrations.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nrwl/nx/nx-plugin-checks": [
"error",
{
"allowedVersionStrings": ["latest"]
}
]
}
},
{
"files": ["nxw.ts"],
"rules": {
"@typescript-eslint/no-restricted-imports": [
"error",
{
"patterns": [
{
"group": ["*", "!fs"],
"message": "The Nx wrapper is ran before packages are installed. It should only import node builtins.",
"allowTypeImports": true
}
]
}
],
"no-restricted-modules": [
"error",
{
"patterns": ["*", "!fs", "!path", "!child_process", "!node:*"]
}
],
"no-restricted-imports": "off"
}
}
]
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!