This repo contains all of Clark's eslint configuration presets.
-
@clark/eslint-config
: The base config that all other configs extend from. -
@clark/eslint-config-typescript
: Adds support for parsing TypeScript, as well as TypeScript-specific rules. -
@clark/eslint-config-node
: Adds Node.js-specific rules and sets the environment. -
@clark/eslint-config-node-typescript
: Combineseslint-config-node
andeslint-config-typescript
. -
@clark/eslint-config-node-order-imports
: Sorts ES module imports for Node.js projects. -
@clark/eslint-config-browser
: Extends from the base config and sets the browser environment. -
@clark/eslint-config-ember
: Extends fromeslint-config-browser
and adds Ember.js-specific rules to it. -
@clark/eslint-config-ember-typescript
: Combineseslint-config-ember
andeslint-config-typescript
. -
@clark/eslint-config-ember-order-imports
: Sorts ES module imports for Ember.js projects.
There are also a few more plugins and utils in this repository:
-
@clark/eslint-plugin-import-helpers-with-package
: Extendseslint-plugin-import-helpers/order-imports
so that it can infer the name of the package the file belongs to. -
@clark/eslint-util-get-package
: Finds thepackage.json
a source file belongs to.