eslint-plugin-import-newlines icon indicating copy to clipboard operation
eslint-plugin-import-newlines copied to clipboard

ESLint plugin for enforcing newlines in ES6 import statements past a certain number of items with automatic fixes

Results 4 eslint-plugin-import-newlines issues
Sort by recently updated
recently updated
newest added

Resolves #16 This PR adds an `allowBlankLines` configuration option which suppresses the `noBlankBetween` and `limitLineCount` errors, in order to allow import statements that contain one or more blank lines. It...

``` import { BaseButton, Box, Provider, // here is a comment Typography, theme, } from '...'; ``` I'm getting `Import lines cannot have more than one blank line between them.`...

Any chance you could consider a rule that checks if there is no newline above the first import line, and if there isn't, it adds one?

Update the project to use the new flat config format introduced in ESLint v9. Reference: [Migration Guide](https://eslint.org/docs/latest/use/configure/migration-guide)