首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • HarmonyOS Next开发利器:DevEco Studio高效编码技巧 🚀

    "rules": { 5 "@typescript-eslint/no-explicit-any": "error", // 禁用any类型 6 "naming-convention 7 } 8 }x { "rules": {   "@typescript-eslint/no-explicit-any": "error", // 禁用any类型   "naming-convention

    33210编辑于 2025-05-24
  • 来自专栏鸿蒙开发笔记

    HarmonyOS 开发实践 —— 基于Code Linter实现代码检查

    ruleSet配置的规则集中特定的某些规则进行修改、去使能, 或者新增规则集以外的规则;ruleSet和rules共同确定了代码检查所应用的规则"rules":{  "@typescript-eslint/naming-convention

    83620编辑于 2024-11-28
  • 来自专栏前端三元同学

    以淘宝店铺为例,谈谈 TypeScript ESLint 规则集考量

    : T[P]; }; type LiteralBool = "true" | "false"; 原因主要有这么几点: 配合 naming-convention 规则(能够用于检查接口是否按照规范命名 ),我们能够在看见 IFoo 时立刻知道它是一个 接口,看见 Bar 时立刻知道它是一个类型别名,配置: { "@typescript-eslint/naming-convention": [

    3.4K30编辑于 2022-03-03
  • 来自专栏前端博客

    项目git commit时卡主不良代码:husky让Git检查代码规范化工作

     ['@blueking/eslint-config-bk/tsvue3'],  rules: {    'no-param-reassign': 0,    '@typescript-eslint/naming-convention

    2.4K41编辑于 2022-07-12
  • 来自专栏前端达人

    Claude Code代码规范守护者子代理实战指南:打造你的团队代码质量管家

    }], // 命名规范 'camelcase': ['error', { properties: 'never' }], '@typescript-eslint/naming-convention

    1.5K10编辑于 2025-10-09
  • 创建公司内部使用的eslint-config-package

    rules: { '@typescript-eslint/naming-convention': [ 'error', { selector: 'enum',

    70500编辑于 2025-02-01
  • ESLint + Prettier 代码规范统一指南

    error', '@typescript-eslint/no-unsafe-return': 'error', // 命名规范 '@typescript-eslint/naming-convention

    71110编辑于 2025-12-15
领券