# stylelint-import

> Ensures imported file paths are well-defined

Latest version **1.0.0** (published 2020-07-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install stylelint-import
pnpm add stylelint-import
yarn add stylelint-import
bun add stylelint-import
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-07-12 |
| First published | 2019-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Juan Carlos Medina |
| Maintainers | juanca |
| Keywords | stylelint, import |

## Links

- npm: https://www.npmjs.com/package/stylelint-import
- Repository: https://github.com/juanca/stylelint-import
- Homepage: https://github.com/juanca/stylelint-import#readme
- Issues: https://github.com/juanca/stylelint-import/issues
- npm.io page: https://npm.io/package/stylelint-import

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-07-12
- 0.0.1 — 2019-02-23

## README

# stylelint-import

Ensure each `@import` is well-defined (before compilation).

1. The file must exist
2. The path must include an extension

[![NPM version](http://img.shields.io/npm/v/stylelint-import.svg)](https://www.npmjs.org/package/stylelint-import)
[![CircleCI status](https://circleci.com/gh/juanca/stylelint-import.svg?style=shield)](https://circleci.com/gh/juanca/stylelint-import)

## Example usage

1. Install

```
npm install stylelint-import --save-dev
```

2. Configure

```
plugins: [
  'stylelint-import',
],
rules: {
  'import/rule': true,
},
```

## Maintainers

1. Install: `npm install`
1. Test:
  - `npm test9`
  - `npm test10`
  - `npm test11`
  - `npm test12`
  - `npm test13`

---
_Source: https://npm.io/package/stylelint-import · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
