UNPKG

@anolilab/eslint-config

Version:

ESLint shareable config for the Anolilab JavaScript style guide.

12 lines (9 loc) 775 B
'use strict'; var chunkR26SPKXH_js = require('../../chunk-R26SPKXH.js'); require('../../chunk-WW4PDMXQ.js'); require('../../chunk-5RAVHY5O.js'); var packageJsonUtils = require('@anolilab/package-json-utils'); !global.hasAnolilabEsLintConfigPrettier&&(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(global.hasAnolilabEsLintConfigPrettier=!0);var t={overrides:[{extends:["plugin:yml/recommended",...global.hasAnolilabEsLintConfigPrettier?["plugin:yml/prettier"]:[]],files:["**/*.yaml","**/*.yml"],parser:"yaml-eslint-parser",rules:{indent:[global.hasAnolilabEsLintConfigPrettier?"off":"error",chunkR26SPKXH_js.a],"spaced-comment":"off"}}]},o=t; module.exports = o; //# sourceMappingURL=out.js.map //# sourceMappingURL=yml.js.map