Skip to content

Commit dfd5830

Browse files
committed
Bug 1830265 - Enable ESLint and Prettier on .babel-eslint.rc.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D176637
1 parent 2d03564 commit dfd5830

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.babel-eslint.rc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
/* eslint-env node */
6+
57
module.exports = {
6-
plugins: [
7-
"@babel/plugin-syntax-jsx",
8-
],
8+
plugins: ["@babel/plugin-syntax-jsx"],
99
};

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
!.eslintrc*.js
1111
!.prettierrc.js
12+
!.babel-eslint.rc.js
1213

1314
# Always ignore node_modules.
1415
**/node_modules/

0 commit comments

Comments
 (0)