eslint-config-appnexus
Advanced tools
Comparing version 6.2.0 to 7.0.0
@@ -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, |
@@ -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'], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33258
556