@anolilab/eslint-config
Version:
ESLint shareable config for the Anolilab JavaScript style guide.
18 lines (14 loc) • 1.16 kB
JavaScript
;
var chunkSEYYGHPU_js = require('../../chunk-SEYYGHPU.js');
var chunkWW4PDMXQ_js = require('../../chunk-WW4PDMXQ.js');
var chunkWG6GTAIA_js = require('../../chunk-WG6GTAIA.js');
require('../../chunk-5RAVHY5O.js');
var process = require('process');
var packageJsonUtils = require('@anolilab/package-json-utils');
if(!global.hasAnolilabEsLintConfigDeprecation&&(packageJsonUtils.hasDependency("eslint-plugin-deprecation")||packageJsonUtils.hasDevDependency("eslint-plugin-deprecation"))){global.hasAnolilabEsLintConfigDeprecation=!0;let e=process.env.DISABLE_INFO_ON_DISABLING_ETC_NO_DEPRECATED!=="true";e&&chunkWW4PDMXQ_js.a.info_on_disabling_etc_no_deprecated!==void 0&&(e=chunkWW4PDMXQ_js.a.info_on_disabling_etc_no_deprecated),e&&chunkSEYYGHPU_js.b(`
@anolilab/eslint-config found "eslint-plugin-deprecation" package.
Following rules are disabled: etc/no-deprecated.
`);}var r=chunkWG6GTAIA_js.a("typescript",{extends:["plugin:etc/recommended"],plugins:["etc"],rules:{"etc/no-deprecated":global.hasAnolilabEsLintConfigDeprecation?"off":"error"}}),g=r;
module.exports = g;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=etc.js.map