# Eslint Config Aether

[![npm version](https://badgen.net/npm/v/eslint-config-aether?color=green)](https://www.npmjs.com/package/eslint-config-aether)

A custom code style for [ESLint](https://eslint.org/).

## Preview

```js
const btn = document.getElementById("btn");
let count = 0;

function render() {

	btn.innerText = `Count: ${count}`;

}

btn.addEventListener("click", () => {

	// Count from 1 to 10.
	if(count < 10) {

		count += 1;
		render();

	}

});
```

## Installation

```sh
npm install eslint-config-aether
``` 

## Usage

#### eslint.config.js

```js
// Minimal config
import { default } from "eslint-config-aether";
```

```js
// Custom config
import { defineConfig } from "eslint/config";
import aether from "eslint-config-aether";

export default defineConfig([
	{
		files: ["**/*.js", "**/*.ts"],
		extends: [aether],

		// anything from here will override the base config
		rules: {
			"@stylistic/padded-blocks": "off"
		}
	}
]);
```
