Загрузка данных
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ pwd
/home/dmitriev-aal/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ git log -1 --oneline
cd792f9 (HEAD, origin/bugfix/ECO_OB_CHATBOT-353, bugfix/ECO_OB_CHATBOT-353) update lock file
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ echo "===== ESLINT FILES ====="
===== ESLINT FILES =====
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ find . -maxdepth 1 -type f \( -name '*eslint*' -o -name '.eslint*' \) -print
./eslint.config.js
./tsconfig.eslint.json
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ echo "===== ESLINT CONFIG ====="
===== ESLINT CONFIG =====
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ cat eslint.config.js
const {
createEslintConfig,
} = require("@rshbintech.dboul/scripts/dist/configs/eslint");
module.exports = createEslintConfig({
tsConfigPath: "./tsconfig.eslint.json",
rules: {
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/no-require-imports": "error",
},
configOverrides: {
files: ["**/snow-plow-analytics/utils/index.ts"],
rules: {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-require-imports": "off",
},
},
});
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ echo "===== PACKAGE SCRIPTS/DEPS ====="
===== PACKAGE SCRIPTS/DEPS =====
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ cat package.json | grep -n -E 'eslint|rshbintech.dbou|typescript'
14: "eslint:check": "eslint ./src",
15: "eslint:fix": "eslint --fix ./src",
19: "test": "yarn typescript:check && yarn eslint:check",
20: "typescript:check": "tsc --noEmit"
27: "@rshbintech.dboul/core-ui": "^2.19.10",
28: "@rshbintech.dboul/icons": "^1.51.1",
29: "@rshbintech.dboul/images": "^1.115.0",
30: "@rshbintech.dboul/scripts": "^2.14.0",
39: "typescript": "5.9.2"
43: "@rshbintech.dboul/core-ui": "2.x",
44: "@rshbintech.dboul/icons": "1.x",
59: "typescript": "5.9.2",
62: "eslintConfig": {
64: "./node_modules/@rshbintech.dboul/scripts/dist/configs/eslint"
92: "pre-commit": "lint-staged && yarn typescript:check",
99: "./node_modules/@rshbintech.dboul/scripts/dist/configs/commitlint"
104: "*.{js,jsx,ts,tsx}": "yarn eslint:fix"
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ echo "===== TSCONFIG ESLINT ====="
===== TSCONFIG ESLINT =====
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$ cat tsconfig.eslint.json
{
"extends": "./tsconfig.json",
"exclude": [],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/crft/ctp/virtual-assistant/frontend/webchat$