Commit a49f5b22 authored by winniehell's avatar winniehell

Move ESLint config file to tooling directory

parent 973d18e6
...@@ -3,7 +3,7 @@ extends: ...@@ -3,7 +3,7 @@ extends:
- plugin:@gitlab/i18n - plugin:@gitlab/i18n
- plugin:no-jquery/slim - plugin:no-jquery/slim
- plugin:no-jquery/deprecated-3.4 - plugin:no-jquery/deprecated-3.4
- ./config/eslint-config-ignore-ee.js - ./tooling/eslint-config/conditionally_ignore_ee.js
globals: globals:
__webpack_public_path__: true __webpack_public_path__: true
gl: false gl: false
......
# Tooling
This directory contains tools and configuration for development only.
const IS_EE = require('./helpers/is_ee_env'); /* eslint-disable import/no-commonjs */
const IS_EE = require('../../config/helpers/is_ee_env');
module.exports = IS_EE ? {} : { ignorePatterns: ['ee/**/*.*'] }; 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