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

eslint-config-usecases

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-usecases - npm Package Compare versions

Comparing version 1.1.0 to 1.2.1

usecase/browser-es2015.js

2

package.json
{
"name": "eslint-config-usecases",
"description": "ESLint configs by usecase",
"version": "1.1.0",
"version": "1.2.1",
"author": "Marc-Aurèle DARCHE",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -71,4 +71,4 @@ eslint-config-usecases

Those linting and style rules are the ones I use for the projects I work on, but
fill free to contribute if you have similar tastes.
feel free to contribute if you have similar tastes.
So pull Requests and contributions in general are welcome

@@ -6,4 +6,6 @@ module.exports = {

jquery: true,
es6: false
commonjs: false,
es6: false,
node: false
}
};
module.exports = {
extends: 'usecases/usecase/lib/common',
extends: 'usecases/usecase/nodejs',
env: {

@@ -4,0 +4,0 @@ mocha: true

module.exports = {
extends: 'usecases/usecase/lib/common',
extends: ['usecases/usecase/lib/common','usecases/usecase/lib/es2015'],
env: {

@@ -10,5 +10,2 @@ es6: true,

// Don't use "var", only use "let" and "const"
'no-var': 'error',
// Use "require" statements in the global scope context (eg. no

@@ -18,7 +15,2 @@ // "require" statements inside functions, etc.)

// Use arrow functions instead of callbacks
'prefer-arrow-callback': 'error',
// Use parentheses around arrow function params even if empty
'arrow-parens': 'error',
// No Sync methods are they degrade perfs

@@ -25,0 +17,0 @@ 'no-sync': 'error',

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