forked from mirrors/gecko-dev
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:
parent
2d03564d1e
commit
dfd5830d4d
2 changed files with 4 additions and 3 deletions
|
|
@ -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/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue