From 1cda9b6a802f0137f7b4b06c5336f3ba9d58d2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Couto?= Date: Tue, 21 Mar 2017 00:11:30 +0000 Subject: [PATCH] Update README.md with codeFrame option (babel/babel-eslint#448) --- eslint/babel-eslint-parser/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eslint/babel-eslint-parser/README.md b/eslint/babel-eslint-parser/README.md index ff6e41a5fb..fc5a54035f 100644 --- a/eslint/babel-eslint-parser/README.md +++ b/eslint/babel-eslint-parser/README.md @@ -78,6 +78,7 @@ Check out the [ESLint docs](http://eslint.org/docs/rules/) for all possible rule `sourceType` can be set to `'module'`(default) or `'script'` if your code isn't using ECMAScript modules. `allowImportExportEverywhere` can be set to true to allow import and export declarations to appear anywhere a statement is allowed if your build environment supports that. By default, import and export declarations can only appear at a program's top level. +`codeFrame` can be set to false to disable the code frame in the reporter. This is useful since some eslint formatters don't play well with it. **.eslintrc** @@ -86,7 +87,8 @@ Check out the [ESLint docs](http://eslint.org/docs/rules/) for all possible rule "parser": "babel-eslint", "parserOptions": { "sourceType": "module", - "allowImportExportEverywhere": false + "allowImportExportEverywhere": false, + "codeFrame": false } } ```