Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
ecaf9d8d
Commit
ecaf9d8d
authored
10 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Issue
#2227731
by _nod: Replace JSHint with ESLint for JavaScript validation."
This reverts commit
0b522f36
.
parent
7ae6f6b4
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.eslintrc
+0
-33
0 additions, 33 deletions
.eslintrc
.jshintignore
+4
-0
4 additions, 0 deletions
.jshintignore
.jshintrc
+25
-0
25 additions, 0 deletions
.jshintrc
with
29 additions
and
33 deletions
.eslintrc
deleted
100644 → 0
+
0
−
33
View file @
7ae6f6b4
{
"env": {
"browser": true
},
"globals": {
"Drupal": true,
"drupalSettings": true,
"domready": true,
"jQuery": true,
"_": true,
"matchMedia": true,
"Backbone": true,
"Modernizr": true,
"CKEDITOR": true
},
"rules": {
"eqeqeq": [2, "smart"],
"guard-for-in": 2,
"no-undef": 2,
//"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"no-unused-vars": 0,
"strict": 2,
"new-cap": 0,
"quotes": 0,
"camelcase": 0,
"no-underscore-dangle": 0,
"no-new": 0,
"no-alert": 0,
"no-use-before-define": 0,
"consistent-return": 0,
"no-constant-condition": 0
}
}
This diff is collapsed.
Click to expand it.
.
esl
intignore
→
.
jsh
intignore
+
4
−
0
View file @
ecaf9d8d
core/assets/vendor/*
core/assets/vendor
core/modules/locale/tests/locale_test.js
core/modules/tour/js/jquery.joyride-2.0.3.js
core/modules/tour/js/jquery.joyride-2.0.3.js
core/vendor
/*
core/vendor
sites/*/files
sites/*/files
This diff is collapsed.
Click to expand it.
.jshintrc
0 → 100644
+
25
−
0
View file @
ecaf9d8d
{
"browser" : true,
"curly" : true,
"eqeqeq" : true,
"forin" : true,
"indent" : 2,
"latedef" : true,
"newcap" : true,
"noarg" : true,
"strict" : true,
"trailing" : true,
"undef" : true,
"unused" : "vars",
"predef" : [
"Drupal",
"drupalSettings",
"domready",
"jQuery",
"_",
"matchMedia",
"Backbone",
"Modernizr",
"CKEDITOR"
]
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment