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
a49f5b22
Commit
a49f5b22
authored
Nov 14, 2020
by
winniehell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ESLint config file to tooling directory
parent
973d18e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
.eslintrc.yml
.eslintrc.yml
+1
-1
tooling/README.md
tooling/README.md
+4
-0
tooling/eslint-config/conditionally_ignore_ee.js
tooling/eslint-config/conditionally_ignore_ee.js
+5
-0
No files found.
.eslintrc.yml
View file @
a49f5b22
...
@@ -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/README.md
0 → 100644
View file @
a49f5b22
# Tooling
This directory contains tools and configuration for development only.
config/eslint-config-ignore-
ee.js
→
tooling/eslint-config/conditionally_ignore_
ee.js
View file @
a49f5b22
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/**/*.*
'
]
};
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