Commit e9ab64ae authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'winniehell-fix-foss-eslint' into 'master'

Ignore ee directory if ESLint is run with FOSS_ONLY=1

See merge request gitlab-org/gitlab!47453
parents 6d49896e a49f5b22
......@@ -3,6 +3,7 @@ extends:
- plugin:@gitlab/i18n
- plugin:no-jquery/slim
- plugin:no-jquery/deprecated-3.4
- ./tooling/eslint-config/conditionally_ignore_ee.js
globals:
__webpack_public_path__: true
gl: false
......
# Tooling
This directory contains tools and configuration for development only.
/* eslint-disable import/no-commonjs */
const IS_EE = require('../../config/helpers/is_ee_env');
module.exports = IS_EE ? {} : { ignorePatterns: ['ee/**/*.*'] };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment