Adjust ESLint rule for file names
This commit is contained in:
parent
8a5557ce51
commit
4cd2ab5254
2 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"],
|
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
||||||
"no-multiple-empty-lines": ["error", { "max": 1 }]
|
"no-multiple-empty-lines": ["error", { "max": 1 }]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
changelogs/unreleased/remove-es6-extension.yml
Normal file
4
changelogs/unreleased/remove-es6-extension.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Remove es6 file extension from JavaScript files
|
||||||
|
merge_request: 9241
|
||||||
|
author: winniehell
|
Loading…
Reference in a new issue