Adjust ESLint rule for file names

This commit is contained in:
winniehell 2017-02-14 20:10:57 +01:00
parent 8a5557ce51
commit 4cd2ab5254
2 changed files with 5 additions and 1 deletions

View file

@ -23,7 +23,7 @@
}
},
"rules": {
"filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"],
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
"no-multiple-empty-lines": ["error", { "max": 1 }]
}
}

View file

@ -0,0 +1,4 @@
---
title: Remove es6 file extension from JavaScript files
merge_request: 9241
author: winniehell