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

eslint-config-digiteels

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-digiteels - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

.babelrc

4

.eslintrc.json
{
"extends": [
"./presets/es5.js",
"./presets/node.js"
"./ecmaVersion/5.js",
"./env/node.js"
]
}
{
"name": "eslint-config-digiteels",
"description": "ESLint rule presets built and suggested by DigitEels",
"version": "1.2.0",
"description": "Custom ESLint configs based on DigitEels' style recommendations.",
"version": "2.0.0",
"author": "DigitEels",

@@ -18,3 +18,3 @@ "bugs": {

"license": "WTFPL",
"main": "presets/es6.js",
"main": "ecmaVersion/6.js",
"peerDependencies": {

@@ -30,7 +30,13 @@ "eslint": ">= 3.5.0"

"lint": "eslint .",
"test": "echo \"Error: no test specified\" && exit 1"
"testonly": "mocha --compilers js:babel-core/register test/*.js",
"test": "npm run lint && npm run testonly"
},
"devDependencies": {
"babel-cli": "^6.16.0",
"babel-plugin-transform-es2015-arrow-functions": "^6.8.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.16.0",
"babel-plugin-transform-strict-mode": "^6.11.3",
"babel-preset-es2016": "^6.16.0",
"eslint": "^3.6.1"
}
}

@@ -7,3 +7,3 @@ # eslint-config-digiteels

Provides ES5 and ES6 ESLint configurations based on DigitEels' recommendations about style.
Custom ESLint configs based on DigitEels' style recommendations.

@@ -17,3 +17,4 @@ Heavily influenced by:

Install with ESLint for development using npm (requires ESlint v3.5.0 and above):
Install with ESLint for development using npm (requires [ESLint](https://github.com/eslint/eslint)
v3.5.0 and above):

@@ -25,3 +26,3 @@ ```

Extend your [ESLint configuration](http://eslint.org/docs/user-guide/configuring) using `digiteels`
(or one of the below presets), for example:
(or one of the below configs), for example:

@@ -36,16 +37,16 @@ ```json

## Presets
## Configurations
The following full configurations are included in this package:
Start by extending a complete configuration for one of the following ECMAScript versions:
- **ES6:** `digiteels/presets/es6` (default)
- **ES5:** `digiteels/presets/es5`
- **ES6:** `digiteels/ecmaVersion/6` (default)
- **ES5:** `digiteels/ecmaVersion/5`
The following add-on configurations are also included and should be combined with one of the
configurations above:
Additionally extend one or more of the following environment / framework configurations applicable
to your project:
- **Node.js:** `digiteels/presets/node`
- **React:** `digiteels/presets/react`
- **Node.js:** `digiteels/env/node`
- **React:** `digiteels/env/react`
An example of a Node.js project in ES6:
For example, for a Node.js project using ES6:

@@ -56,3 +57,3 @@ ```json

"digiteels",
"digiteels/presets/node"
"digiteels/env/node"
]

@@ -59,0 +60,0 @@ }

@@ -198,6 +198,3 @@ 'use strict';

// disallow unused expressions
'no-unused-expressions': ['error', {
allowShortCircuit: false,
allowTernary: false,
}],
'no-unused-expressions': 'off',

@@ -204,0 +201,0 @@ // disallow unused labels

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