debian-mirror-gitlab/tooling/eslint-config/conditionally_ignore_ee.js

6 lines
164 B
JavaScript
Raw Normal View History

2021-01-29 00:20:46 +05:30
/* eslint-disable import/no-commonjs */
const IS_EE = require('../../config/helpers/is_ee_env');
module.exports = IS_EE ? {} : { ignorePatterns: ['ee/**/*.*'] };