/eslint-javascript

Default JavaScript ESLint config.

Primary LanguageJavaScript

@buraksaraloglu/eslint-javascript

This package provides base JavaScript .eslintrc (without React plugins) as an extensible shared config.

Install

Install the correct versions of package.

Yarn

yarn add @buraksaraloglu/eslint-javascript --dev

Npm

npm install @buraksaraloglu/eslint-javascript --save-dev

Usage

// .eslintrc

{
  "extends": [
    "@buraksaraloglu/eslint-javascript"
  ]
}

Supported Rules

1. eslint-config-airbnb-base

https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base

2. eslint-config-prettier

https://github.com/prettier/eslint-config-prettier

3. eslint-plugin-prettier

https://github.com/prettier/eslint-plugin-prettier

4. eslint-plugin-eslint-comments

https://github.com/mysticatea/eslint-plugin-eslint-comments

5. eslint-plugin-import

https://github.com/benmosher/eslint-plugin-import

6. eslint-plugin-jest

https://github.com/jest-community/eslint-plugin-jest