Commit d28f0594 authored by Clement Ho's avatar Clement Ho

Merge branch 'remove-es6-extension-ee' into 'master'

Remove es6 file extension from JavaScript files

See merge request !1344
parents f9d66965 e296e2a2
...@@ -23,7 +23,7 @@ ...@@ -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 }]
} }
} }
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
* for more information * for more information
*/ */
const instanceComponent = require('./deploy_board_instance_component.js.es6'); const instanceComponent = require('./deploy_board_instance_component');
const statusCodes = require('~/lib/utils/http_status'); const statusCodes = require('~/lib/utils/http_status');
const Flash = require('~/flash'); const Flash = require('~/flash');
require('~/lib/utils/common_utils.js.es6'); require('~/lib/utils/common_utils');
module.exports = { module.exports = {
......
---
title: Remove es6 file extension from JavaScript files
merge_request: 1344
author: winniehell
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment