summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2017-02-14 20:10:57 +0100
committerwinniehell <git@winniehell.de>2017-03-05 20:42:49 +0100
commit4cd2ab52548e89cd7259cfb7ce320fdfa203fe84 (patch)
treef4847c5d157d086e4d6438b876c9cbc988f33703
parent8a5557ce514fc5bd1a8e4e236713fd0910ce7e78 (diff)
downloadgitlab-ce-4cd2ab52548e89cd7259cfb7ce320fdfa203fe84.tar.gz
Adjust ESLint rule for file names
-rw-r--r--.eslintrc2
-rw-r--r--changelogs/unreleased/remove-es6-extension.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index 0fcd866778f..b0ae2a31919 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -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 }]
}
}
diff --git a/changelogs/unreleased/remove-es6-extension.yml b/changelogs/unreleased/remove-es6-extension.yml
new file mode 100644
index 00000000000..65f4a7a7867
--- /dev/null
+++ b/changelogs/unreleased/remove-es6-extension.yml
@@ -0,0 +1,4 @@
+---
+title: Remove es6 file extension from JavaScript files
+merge_request: 9241
+author: winniehell