{"version":3,"sources":["jsdelivr-header.js","/npm/@momoko/eslint-config-js@1.2.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACFA,OAAO,QAAU,CACf,MAAM,EAEN,cAAe,CAEb,OAAQ,uBAER,WAAY,SAEZ,YAAa,MAGf,IAAK,CACH,SAAS,EACT,MAAM,EACN,MAAM,EACN,KAAK,GAGP,QAAS,CACP,SAAS,GAGX,QAAS,CAAC,YAEV,QAAS,CAAC,UAaV,MAAO,CAGL,eAAgB,CACd,QACA,CACE,OAAQ,mBACR,QAAS,mBACT,QAAS,mBACT,QAAS,mBACT,UAAW,WAIf,cAAwC,eAAzB,QAAQ,IAAI,SAA4B,QAAU","file":"/npm/@momoko/eslint-config-js@1.2.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@momoko/eslint-config-js@1.2.2/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\n * for javascript\n */\n\nmodule.exports = {\n  root: true,\n  // 解析器选项\n  parserOptions: {\n    // 指定 js 的解析器\n    parser: '@babel/eslint-parser',\n    // js 的类型\n    sourceType: 'module',\n    // ECMAScript 版本\n    ecmaVersion: 2022,\n  },\n  // 指定环境，每个环境都有自己预定义的全局变量\n  env: {\n    browser: true,\n    node: true,\n    jest: true,\n    es6: true,\n  },\n  // 指定全局变量\n  globals: {\n    cordova: true,\n  },\n  // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style\n  extends: ['standard'],\n  // 配置插件\n  plugins: ['import'],\n  // check if imports actually resolve\n  // settings: {\n  //   'import/resolver': {\n  //     webpack: {\n  //       config: 'webpack.base.conf.js',\n  //     },\n  //   },\n  // },\n  // add your custom rules here\n  // 'off' 或 0 - 关闭规则\n  // 'warn' 或 1 - 开启规则，使用警告级别的错误：warn (不会导致程序退出)\n  // 'error' 或 2 - 开启规则，使用错误级别的错误：error (当被触发的时候，程序会退出)\n  rules: {\n    // 自定义的 standard 规则：\n    // 对象和数组结尾强制分号\n    'comma-dangle': [\n      'error',\n      {\n        arrays: 'always-multiline',\n        objects: 'always-multiline',\n        imports: 'always-multiline',\n        exports: 'always-multiline',\n        functions: 'ignore',\n      },\n    ],\n    // allow debugger during development\n    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',\n  },\n}\n"]}