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

eslint-config-appnexus

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-appnexus - npm Package Compare versions

Comparing version 6.2.0 to 7.0.0

7

base.js

@@ -83,8 +83,3 @@ module.exports = {

'no-unsafe-negation': 2,
'no-unused-vars': [
2,
{
args: 'none',
},
],
'no-unused-vars': ['error', { args: 'after-used' }],
'prefer-const': 2,

@@ -91,0 +86,0 @@ 'promise/catch-or-return': 2,

3

CHANGELOG.md

@@ -5,2 +5,5 @@ # Change Log

## 7.0.0
- [major] - Updated the warns to errors and added new rules to account for the latest ts parse. Also updated ts parsers
## 6.2.0

@@ -7,0 +10,0 @@

{
"name": "eslint-config-appnexus",
"version": "6.2.0",
"version": "7.0.0",
"description": "AppNexus Standard Eslint Config",

@@ -41,4 +41,4 @@ "main": "index.js",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"babel-eslint": "^10.1.0",

@@ -45,0 +45,0 @@ "eslint": "^7.8.1",

@@ -27,4 +27,4 @@ const off = 0;

'no-unused-vars': 'off',
'no-shadow': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
// '@typescript-eslint/camelcase': 'off',
'@typescript-eslint/prefer-regexp-exec': 'off',

@@ -80,8 +80,13 @@ '@typescript-eslint/no-explicit-any': 'off',

'react/prop-types': 'off',
'@typescript-eslint/camelcase': 'off',
'typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
// Warnings - will become errors in next major version
'@typescript-eslint/restrict-plus-operands': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
// Error
'@typescript-eslint/no-shadow': ['error'],
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/no-unsafe-member-access': 'error',
'@typescript-eslint/naming-convention': [
'warn',
'error',
{

@@ -97,2 +102,6 @@ selector: 'default',

{
selector: 'enumMember',
format: ['camelCase', 'UPPER_CASE'],
},
{
selector: 'function',

@@ -99,0 +108,0 @@ format: ['camelCase', 'PascalCase'],

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