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 - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

typescript-basic.js

118

index.js

@@ -1,117 +0,1 @@

module.exports = {
"extends": "eslint:recommended",
"env": {
"es2020": true,
"browser": true,
"worker": true,
"jquery": true,
"node": true
},
"parserOptions": {
"sourceType": "module",
"impliedStrict": true
},
"rules": {
"array-bracket-spacing": ["error", "never"],
"block-spacing": ["error", "always"],
"brace-style": ["error", "1tbs", {
"allowSingleLine": true
}],
"camelcase": "warn",
"comma-dangle": ["error", "never"],
"comma-spacing": "error",
"comma-style": ["error", "last"],
"consistent-return": "error",
"computed-property-spacing": ["error", "never"],
"curly": "error",
"dot-notation": "error",
"eol-last": ["error", "always"],
"eqeqeq": "error",
"func-call-spacing": ["error", "never"],
"indent": ["error", "tab", {
"SwitchCase": 1
}],
"key-spacing": "error",
"keyword-spacing": ["error", {
"overrides": {
"catch": { "after": false },
"if": { "after": false },
"for": { "after": false },
"switch": { "after": false },
"while": { "after": false },
}
}],
"lines-between-class-members": ["error", "always"],
"new-cap": "error",
"new-parens": "error",
"no-array-constructor": "error",
"no-alert": "warn",
"no-caller": "error",
"no-console": "off",
"no-debugger": "warn",
"no-else-return": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-semi": "error",
"no-iterator": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multiple-empty-lines": "warn",
"no-multi-spaces": "warn",
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-wrappers": "error",
"no-trailing-spaces": "warn",
"no-undef-init": "error",
"no-underscore-dangle": "error",
"no-unused-vars": ["warn", {
"vars": "all",
"args": "none"
}],
"no-var": "error",
"no-whitespace-before-property": "error",
"object-curly-spacing": ["error", "always"],
"padded-blocks": ["error", "always", {
"allowSingleLineBlocks": true
}],
"quotes": ["error", "double"],
"semi": ["error", "always"],
"semi-spacing": "error",
"space-before-blocks": ["error", "always"],
"space-before-function-paren": ["error", "never"],
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": "error",
"spaced-comment": ["warn", "always"],
"wrap-iife": "warn",
"yoda": ["error", "never"]
}
};
module.exports = require("./default.js");
{
"name": "eslint-config-aether",
"version": "1.0.0",
"version": "1.1.0",
"description": "A custom code style for ESLint.",

@@ -11,2 +11,4 @@ "homepage": "https://github.com/vanruesc/eslint-config-aether",

"style",
"syntax",
"checking",
"eslint",

@@ -16,3 +18,4 @@ "config",

"hint",
"jscs"
"typescript",
"ts"
],

@@ -31,4 +34,6 @@ "author": {

"files": [
"index.js"
"index.js",
"typescript.js",
"typescript-basic.js"
]
}

@@ -14,10 +14,24 @@ # Eslint Config Aether

This package includes optional TypeScript variants that rely on the TypeScript ESLint [plugin](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin) and [parser](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser):
```sh
npm install @typescript-eslint/eslint-plugin @typescript-eslint/parser
```
## Included Configurations
| Config | Parent Configs |
|-------------------------|----------------------------------------------------------------------------------|
| aether | `eslint:recommended` |
| aether/typescript | `aether`, `plugin:@typescript-eslint/eslint-recommended-requiring-type-checking` |
| aether/typescript-basic | `aether`, `plugin:@typescript-eslint/eslint-recommended` |
## Usage
Choose one of the following options to load the configuration.
Choose one of the following options to load a configuration.
#### package.json
```js
```json
{

@@ -30,5 +44,20 @@ "eslintConfig": {

#### package.json (TypeScript)
```json
{
"eslintConfig": {
"extends": "aether/typescript",
"parserOptions": {
"project": [
"tsconfig.json"
]
}
}
}
```
#### .eslintrc
```js
```json
{

@@ -38,1 +67,14 @@ "extends": "aether"

```
#### .eslintrc (TypeScript)
```json
{
"extends": "aether/typescript",
"parserOptions": {
"project": [
"tsconfig.json"
]
}
}
```
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