Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-aether

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-aether

A custom code style for ESLint.

  • 1.5.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
37
decreased by-33.93%
Maintainers
1
Weekly downloads
 
Created
Source

Eslint Config Aether

npm version

A custom code style for ESLint.

Preview

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

npm install eslint-config-aether

This package includes optional configurations for TypeScript which require the TypeScript ESLint plugin and parser:

npm install @typescript-eslint/eslint-plugin
npm install @typescript-eslint/parser

Included Configurations

The aether configuration is intended to be used for JavaScript projects, aether/typescript-basic is a compatibility configuration for TypeScript projects and aether/typescript adds rules that rely on type checking.

ConfigParent Configs
aethereslint:recommended
aether/typescriptaether, plugin:@typescript-eslint/eslint-recommended-requiring-type-checking
aether/typescript-basicaether, plugin:@typescript-eslint/eslint-recommended

Usage

Note: The config aether/typescript sets parserOptions.project to "tsconfig.json" by default.

package.json
{
	"eslintConfig": {
		"extends": "aether/typescript"
	}
}
.eslintrc
{
	"extends": "aether/typescript"
}

Keywords

FAQs

Package last updated on 24 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc