Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

CLARK's eslint-config
https://github.com/clarksource/eslint-config

eslint eslint-config eslint-shareable-configs prettier prettier-config

Last synced: about 1 month ago
JSON representation

CLARK's eslint-config

Awesome Lists containing this project

README

        









CLARK







# CLARK's eslint-config

[![Build Status](https://travis-ci.org/ClarkSource/eslint-config.svg)](https://travis-ci.org/ClarkSource/eslint-config)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![CLARK Open Source](https://img.shields.io/badge/CLARK-Open%20Source-%232B6CDE.svg)](https://www.clark.de/de/jobs)

This repo contains all of [CLARK](https://github.com/ClarkSource)'s
[eslint](https://eslint.org/) configuration presets.

- [![npm](https://img.shields.io/npm/v/@clark/eslint-config?label)](https://www.npmjs.com/package/@clark/eslint-config)
[**`@clark/eslint-config`**](/eslint/configs/base)\
The base config that all other configs extend from.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-typescript?label)](https://www.npmjs.com/package/@clark/eslint-config-typescript)
[**`@clark/eslint-config-typescript`**](/eslint/configs/typescript)\
Adds support for parsing TypeScript, as well as TypeScript-specific rules.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-node?label)](https://www.npmjs.com/package/@clark/eslint-config-node)
[**`@clark/eslint-config-node`**](/eslint/configs/node)\
Adds Node.js-specific rules and sets the environment.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-node-typescript?label)](https://www.npmjs.com/package/@clark/eslint-config-node-typescript)
[**`@clark/eslint-config-node-typescript`**](/eslint/configs/node-typescript)\
Combines `eslint-config-node` and `eslint-config-typescript`.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-node-order-imports?label)](https://www.npmjs.com/package/@clark/eslint-config-node-order-imports)
[**`@clark/eslint-config-node-order-imports`**](/eslint/configs/node-order-imports)\
Sorts ES module imports for Node.js projects.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-browser?label)](https://www.npmjs.com/package/@clark/eslint-config-browser)
[**`@clark/eslint-config-browser`**](/eslint/configs/browser)\
Extends from the base config and sets the browser environment.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-ember?label)](https://www.npmjs.com/package/@clark/eslint-config-ember)
[**`@clark/eslint-config-ember`**](/eslint/configs/ember)\
Extends from `eslint-config-browser` and adds Ember.js-specific rules to it.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-ember-typescript?label)](https://www.npmjs.com/package/@clark/eslint-config-ember-typescript)
[**`@clark/eslint-config-ember-typescript`**](/eslint/configs/ember-typescript)\
Combines `eslint-config-ember` and `eslint-config-typescript`.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-config-ember-order-imports?label)](https://www.npmjs.com/package/@clark/eslint-config-ember-order-imports)
[**`@clark/eslint-config-ember-order-imports`**](/eslint/configs/ember-order-imports)\
Sorts ES module imports for Ember.js projects.

There are also a few more configs, plugins and utils in this repository:

- [![npm](https://img.shields.io/npm/v/@clark/prettier-config?label)](https://www.npmjs.com/package/@clark/prettier-config)
[**`@clark/prettier-config`**](/prettier/config)\
Our config for [Prettier][prettier]. Used by `eslint-config`.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-plugin-import-helpers-with-package?label)](https://www.npmjs.com/package/@clark/eslint-plugin-import-helpers-with-package)
[**`@clark/eslint-plugin-import-helpers-with-package`**](/eslint/plugins/import-helpers-with-package)\
Extends [`eslint-plugin-import-helpers/order-imports`][order-imports] so that
it can infer the name of the package the file belongs to.
- [![npm](https://img.shields.io/npm/v/@clark/eslint-util-get-package?label)](https://www.npmjs.com/package/@clark/eslint-util-get-package)
[**`@clark/eslint-util-get-package`**](/eslint/utils/get-package)\
Finds the `package.json` a source file belongs to.

[prettier]: https://github.com/prettier/prettier
[order-imports]: https://github.com/Tibfib/eslint-plugin-import-helpers/blob/master/docs/rules/order-imports.md