2.0.0 • Published 6 years ago

@sullenor/eslint-config v2.0.0

Weekly downloads
27
License
MIT
Repository
github
Last release
6 years ago

eslint-config

The set of configuration files for ESLint.

Installation

yarn add @sullenor/eslint-config --dev

Usage

Create the .eslintrc.js file with the following content:

'use strict';

module.exports = {
  extends: '@sullenor/eslint-config',
};

or add eslintConfig field to the package.json:

{
  "name": "<your project>",
  "eslintConfig": {
    "extends": "@sullenor/eslint-config"
  }
}

In case you use es6 imports, add the following parser options:

{
  "parserOptions": {
    "sourceType": "module"
  }
}

so it will be:

'use strict';

module.exports = {
  parserOptions: {
    sourceType: 'module',
  },

  extends: '@sullenor/eslint-config',
};

License

The MIT License

2.0.0

6 years ago

1.1.0

7 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago