UNPKG

@anolilab/eslint-config

Version:

ESLint shareable config for the Anolilab JavaScript style guide.

12 lines (9 loc) 1.46 kB
'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);global.hasAnolilabEsLintConfigPrettier&&(global.anolilabEslintConfigHtmlPrettierRules={"@html-eslint/element-newline":"off","@html-eslint/indent":"off","@html-eslint/no-extra-spacing-attrs":"off","@html-eslint/quotes":"off"},global.anolilabEslintConfigHtmlPrettierSettings={"html/report-bad-indent":"off"});var e={};global.hasAnolilabEsLintConfigPrettier||(e={"html/indent":`+${chunkR26SPKXH_js.a}`});var i={overrides:[{extends:["plugin:@html-eslint/recommended"],files:["**/*.erb","**/*.handlebars","**/*.hbs","**/*.htm","**/*.html","**/*.mustache","**/*.nunjucks","**/*.php","**/*.tag","**/*.twig","**/*.we"],globals:{sourceCode:!0},env:{browser:!0,node:!1},parser:"@html-eslint/parser",plugins:["html","@html-eslint"],rules:{"@html-eslint/indent":["error",chunkR26SPKXH_js.a],"capitalized-comments":"off","spaced-comment":"off",...global.anolilabEslintConfigHtmlPrettierRules},settings:{"html/report-bad-indent":"error",...e,...global.anolilabEslintConfigHtmlPrettierSettings}}]},s=i; module.exports = s; //# sourceMappingURL=out.js.map //# sourceMappingURL=html.js.map