`indent` rule does not apply to `Import/ExportDeclaration`
See original GitHub issueTell us about your environment
- ESLint Version: v3.18.0
- Node Version: v6.10.1
- npm Version: v3.10.10
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
// eslint indent: ['error', 2]
import {
a
} from 'b';
export {
a
} from 'b';
What did you expect to happen?
Expected indentation of 2 spaces but found 4. (indent)
What actually happened? Please include the actual, raw output from ESLint. No errors
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
ESlint indent import / export statements - Stack Overflow
I've wrote an plugin to do that. $ npm install eslint-plugin-align-import --save-dev. And in your .eslintrc : { "plugins": [ "align-import" ] ...
Read more >Basic Importing and Exporting - Customs and Border Protection
In carrying out this task, CBP encourages importers/exporters to become familiar with applicable laws and regulations and work together with the CBP Office ......
Read more >21 CFR Part 1312 -- Importation and Exportation of Controlled ...
(a) No person shall import, or cause to be imported, into the customs territory of the United States from any place outside thereof...
Read more >Information for Importers & Exporters | U.S. Fish & Wildlife ...
This page contains general information about Import/ Export Regulations. You can find Office of Law Enforcement documents such as Fact Sheets, ...
Read more >DEA Form 486
INSTRUCTIONS FOR COMPLETING DEA FORM 486. (IMPORT/EXPORT DECLARATION). This form is to be used in notifying DEA of all imports, exports, and international ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes.
Fixed by https://github.com/eslint/eslint/pull/7618