open-index/open-npm huggingface dataset:
npm package: @lemoninternet/eslint-config
Description: ESLint shareable config
Author: Rick de Graaff
Latest version: 0.0.1

# ESLint Config

## Rules

Extends `eslint:recommended` and has the following changes to the rules:

```json
{
    "rules": {
        "indent": [
            "error",
            4
        ],
        "linebreak-style": [
            "error",
            "unix"
        ],
        "quotes": [
            "warn",
            "double"
        ],
        "semi": [
            "warn",
            "always"
        ]
    },
    "extends": "eslint:recommended"
}
```
To learn more about rules please read the documentation: https://eslint.org/docs/rules/

## Usage

In your configuration set `extends` to use this package.

```json
{
    "extends": "eslint-config"
}
```
npm package: @lemoninternet/stylelint-config
Description: Stylelint shareable config
Author: Rick de Graaff
Latest version: 0.0.4

# Stylelint Config

Currently only extends `stylelint-config-recommended`.

## Installing
` $ yarn add @lemoninternet/stylelint-config stylelint-config-recommended stylelint --dev `

## Usage

In your configuration set `extends` to use this package.

```json
{
    "extends": "@lemoninternet/stylelint-config"
}
```

### Package.json
```
"pre-commit": [
        "stylelint"
],
"scripts": {
        "stylelint": "node_modules/stylelint/bin/stylelint.js \"src/**/*.scss\""
},
```

### Loading the configuration object

Finding and loading of your configuration object is done with [cosmiconfig](https://github.com/davidtheclark/cosmiconfig). Starting from the current working directory, it will look for the following possible sources, in this order:

-   a `stylelint` property in `package.json`
-   a `.stylelintrc` file
-   a `stylelint.config.js` file exporting a JS object

The `.stylelintrc` file (without extension) can be in JSON or YAML format. Alternately, you can add a filename extension to designate JSON, YAML, or JS format: `.stylelintrc.json`, `.stylelintrc.yaml`, `.stylelintrc.yml`, `.stylelintrc.js`. You may want to use an extension so that your text editor can better interpret the file, and help with syntax checking and highlighting.

Once one of these is found and parsed, the search will stop and that object will be used.

The configuration search can be short-circuited by using either the `config` or `configFile` options.