Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89a18de

Browse files
authored
Build: Lint the minified jQuery file as well
While we have absolutely no style-related expectations to our minified file,we do care that it's valid ES 5.1. This is now verified.Fixesgh-3075Closesgh-4594
1 parente1fab10 commit89a18de

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

‎.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ node_modules
33
*.min.js
44
dist/**
55
!dist/jquery.js
6+
!dist/jquery.min.js
67
test/data/jquery-1.9.1.js
78
test/data/badcall.js
89
test/data/badjson.js

‎dist/.eslintrc.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
{
22
"root":true,
33

4-
"extends":"../.eslintrc-browser.json",
5-
64
"parserOptions": {
75
"ecmaVersion":5,
86
"sourceType":"script"
97
},
108

11-
"rules": {
12-
// That is okay for the built version
13-
"no-multiple-empty-lines":"off"
14-
},
15-
169
"globals": {
1710
"define":false,
1811
"module":true,
1912
"Symbol":false
20-
}
13+
},
14+
15+
"overrides": [
16+
{
17+
"files":"jquery.js",
18+
"extends":"../.eslintrc-browser.json",
19+
20+
"rules": {
21+
// That is okay for the built version
22+
"no-multiple-empty-lines":"off"
23+
}
24+
}
25+
]
2126
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp