diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..3f584f6 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "printWidth": 120, + "singleQuote": true +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 25c3f1e..19a6035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.5.1 (November 27, 2019) + +- Disable `unicorn/catch-error-name` rule +- Disable `unicorn/consistent-function-scoping` rule + ## 0.5.0 (November 24, 2019) - Update `@typescript-eslint` and other dependencies to support optional chaining diff --git a/index.js b/index.js index 36dabc9..a9f66ac 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ module.exports = { '@typescript-eslint/explicit-function-return-type': 'error', '@typescript-eslint/no-array-constructor': 'warn', '@typescript-eslint/no-namespace': 'error', - '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_+' }], + '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_+' }] // enable this once typescript-eslint 2.9.0 is released // '@typescript-eslint/prefer-optional-chain': 'warn' @@ -110,6 +110,8 @@ module.exports = { } ], + 'unicorn/catch-error-name': 'off', + 'unicorn/consistent-function-scoping': 'off', 'unicorn/no-abusive-eslint-disable': 'off', 'unicorn/no-nested-ternary': 'warn', 'unicorn/no-process-exit': 'off', diff --git a/package.json b/package.json index e08943e..62f88e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-neo", - "version": "0.5.0", + "version": "0.5.1", "description": "Official Neo Financial ESLint configuration", "main": "index.js", "author": "Neo Financial Engineering ",