Commit 973d18e6 authored by winniehell's avatar winniehell

Ignore ee directory if ESLint is run with FOSS_ONLY=1

parent f964c97c
......@@ -3,6 +3,7 @@ extends:
- plugin:@gitlab/i18n
- plugin:no-jquery/slim
- plugin:no-jquery/deprecated-3.4
- ./config/eslint-config-ignore-ee.js
globals:
__webpack_public_path__: true
gl: false
......
const IS_EE = require('./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