open-index/open-npm huggingface dataset:
npm package: @shinnn/eslintrc
Description: shinnn's ESLint config for both client-side and Node-based projects
Latest version: 0.0.0

# @shinnn/eslintrc

<!-- [![NPM version](https://img.shields.io/npm/v/@shinnn%2feslintrc-node.svg)](https://www.npmjs.com/package/@shinnn/eslintrc-node)-->
[![Build Status](https://travis-ci.org/shinnn/eslintrc.svg?branch=master)](https://travis-ci.org/shinnn/eslintrc)

[shinnn](https://github.com/shinnn)'s [ESLint](http://eslint.org/) config for both [client-side](https://en.wikipedia.org/wiki/Client-side_scripting) and [Node](https://nodejs.org/)-based projects

## Installation

[Use npm](https://docs.npmjs.com/cli/install).

```sh
npm install @shinnn/eslintrc
```

## CLI

```
eslint --config node_modules/@shinnn/eslintrc/rc.json *.js
```

## API

```javascript
'use strict';

var config = require('@shinnn/eslintrc');
/* =>
  {
    envs: {
      browser: true,
      node: true,
      es6: true
    },
    ...
  }
*/

var CLIEngine = require('eslint').CLIEngine;

var cli = new CLIEngine(config);
cli.executeOnText('var foo=true;'); //=> {results: [ ... ], errorCount: 3, warningCount: 0}
```

## License

Copyright (c) 2015 [Shinnosuke Watanabe](https://github.com/shinnn)

Licensed under [the MIT License](./LICENSE).
npm package: @shinnn/eslintrc-node
Description: The ESLint config for shinnn's Node-based projects
Latest version: 1.0.2

# @shinnn/eslintrc-node

<!-- [![NPM version](https://img.shields.io/npm/v/@shinnn%2feslintrc-node.svg)](https://www.npmjs.com/package/@shinnn/eslintrc-node)-->
[![Build Status](https://travis-ci.org/shinnn/eslintrc-node.svg?branch=master)](https://travis-ci.org/shinnn/eslintrc-node)

The [ESLint](http://eslint.org/) config for [shinnn](https://github.com/shinnn)'s [Node](https://nodejs.org/)-based projects

## Installation

[Use npm](https://docs.npmjs.com/cli/install).

```sh
npm install @shinnn/eslintrc-node
```

## CLI

```
eslint --config node_modules/@shinnn/eslintrc-node/rc.json *.js
```

## API

```javascript
'use strict';

var config = require('@shinnn/eslintrc-node');
/* =>
  {
    envs: {
      node: true,
      es6: true
    },
    ...
  }
*/

var CLIEngine = require('eslint').CLIEngine;

var cli = new CLIEngine(config);
cli.executeOnText('var foo=true;'); //=> {results: [ ... ], errorCount: 3, warningCount: 0}
```

## License

Copyright (c) 2015 [Shinnosuke Watanabe](https://github.com/shinnn)

Licensed under [the MIT License](./LICENSE).