Bug 1830265 - Enable ESLint and Prettier on .babel-eslint.rc.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D176637
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
/* eslint-env node */
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: [
|
plugins: ["@babel/plugin-syntax-jsx"],
|
||||||
"@babel/plugin-syntax-jsx",
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
!.eslintrc*.js
|
!.eslintrc*.js
|
||||||
!.prettierrc.js
|
!.prettierrc.js
|
||||||
|
!.babel-eslint.rc.js
|
||||||
|
|
||||||
# Always ignore node_modules.
|
# Always ignore node_modules.
|
||||||
**/node_modules/
|
**/node_modules/
|
||||||
|
|||||||
Reference in New Issue
Block a user