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

@1000ch/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1000ch/eslint-config - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

10

index.js

@@ -19,3 +19,3 @@ 'use strict';

'no-cond-assign' : 'error', // Disallow Assignment in Conditional Statements
'no-console' : 'error', // Disallow Use of console
'no-console' : 'off', // Disallow Use of console
'no-constant-condition' : 'error', // Disallow use of constant expressions in conditions

@@ -55,3 +55,3 @@ 'no-control-regex' : 'error', // Disallow Controls Characters in Regular Expressions

curly : 'error', // Require Following Curly Brace Conventions
'default-case' : 'error', // Require Default Case in Switch Statements
'default-case' : 'off', // Require Default Case in Switch Statements
'dot-location' : ['error', 'property'], // Enforce newline before and after dot

@@ -82,3 +82,3 @@ 'dot-notation' : 'error', // Require Dot Notation

'no-lone-blocks' : 'error', // Disallow Unnecessary Nested Blocks
'no-loop-func' : 'error', // Disallow Functions in Loops
'no-loop-func' : 'off', // Disallow Functions in Loops
'no-magic-numbers' : 'off', // Disallow Magic Numbers

@@ -164,3 +164,3 @@ 'no-multi-spaces' : 'error', // Disallow multiple spaces

'id-match' : 'off', // Require identifiers to match the provided regular expression
indent : ['error', 2], // Specify tab or space width for your code
indent : ['error', 2, { SwitchCase : 1 }], // Specify tab or space width for your code
'jsx-quotes' : ['error', 'prefer-double'], // Specify whether double or single quotes should be used in JSX attributes

@@ -240,3 +240,3 @@ 'key-spacing' : ['error', { beforeColon : true, afterColon : true, align : 'colon' }], // Enforce spacing between keys and values in object literal properties

'prefer-arrow-callback' : 'off', // Suggest using arrow functions as callbacks
'prefer-const' : 'error', // Suggest using const
'prefer-const' : 'off', // Suggest using const
'prefer-reflect' : 'error', // Suggest using Reflect methods where applicable

@@ -243,0 +243,0 @@ 'prefer-rest-params' : 'error', // Suggest using the rest parameters instead of arguments

{
"name": "@1000ch/eslint-config",
"version": "0.3.0",
"version": "0.4.0",
"description": "ESLint config",

@@ -5,0 +5,0 @@ "main": "index.js",

# eslint-config
:construction:
My ESLint config.

@@ -8,7 +8,27 @@ ## Install

```sh
npm install @1000ch/eslint-config
npm install --save-dev @1000ch/eslint-config
```
## Usage
In `.eslintrc`:
```json
{
"extends": ["@1000ch"]
}
```
In `package.json`:
```json
{
"eslintConfig": {
"extends": ["@1000ch"]
}
}
```
## License
MIT: http://1000ch.mit-license.org/
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