eslint-config-hurriyet
Hürriyet's ESLint shareable config
Installation
This package needs eslint-plugin-import and babel-eslint packages as peer dependencies.
$ npm install --save-dev eslint @hurriyet/eslint-config-hurriyet eslint-plugin-import babel-eslint
or you can use Yarn
$ yarn add eslint @hurriyet/eslint-config-hurriyet eslint-plugin-import babel-eslint --dev
Usage
Once the @hurriyet/eslint-config-hurriyet
package is installed, you can use it by specifying @hurriyet/eslint-config-hurriyet
in the extends
section of your ESLint configuration.
{
"extends": "@hurriyet/eslint-config-hurriyet",
"rules": {
// Additional, per-project rules...
}
}