Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
973d18e6
Commit
973d18e6
authored
Nov 11, 2020
by
winniehell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore ee directory if ESLint is run with FOSS_ONLY=1
parent
f964c97c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
.eslintrc.yml
.eslintrc.yml
+1
-0
config/eslint-config-ignore-ee.js
config/eslint-config-ignore-ee.js
+3
-0
No files found.
.eslintrc.yml
View file @
973d18e6
...
...
@@ -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
...
...
config/eslint-config-ignore-ee.js
0 → 100644
View file @
973d18e6
const
IS_EE
=
require
(
'
./helpers/is_ee_env
'
);
module
.
exports
=
IS_EE
?
{}
:
{
ignorePatterns
:
[
'
ee/**/*.*
'
]
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment