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

Commit44906a8

Browse files
authored
Build: Make theeslint:dev task not lint thedist/ folder
There was a mistake in paths logic that made the `dist/` folder lintedeven in the `eslint:dev` task which is run before the build. Fix that byexplicitly ignoring the `dist/` folder at the end of the file list.Closesgh-5257
1 parentfd6ffc5 commit44906a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ module.exports = function( grunt ) {
136136
.map(filePath=>filePath[0]==="!" ?
137137
filePath.slice(1) :
138138
`!${filePath}`
139-
)
139+
),
140+
141+
// Explicitly ignore `dist/` as it could be unignored by
142+
// the above `.eslintignore` parsing.
143+
"!dist/**/*.js"
140144
]
141145
}
142146
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp