@jenssimon/eslint-config-typescript
Advanced tools
Comparing version 1.0.3 to 2.0.0
13
index.js
@@ -17,9 +17,18 @@ module.exports = { | ||
'func-call-spacing': 'off', | ||
'no-shadow': 'off', | ||
'no-use-before-define': 'off', | ||
indent: 'off', | ||
'@typescript-eslint/array-type': 'error', | ||
'@typescript-eslint/brace-style': ['error', '1tbs', { allowSingleLine: true }], | ||
'@typescript-eslint/no-use-before-define': 'off', | ||
'@typescript-eslint/array-type': 'error', | ||
'@typescript-eslint/func-call-spacing': ['error'], | ||
'@typescript-eslint/indent': ['error', 2], | ||
'@typescript-eslint/no-empty-function': 'off', | ||
'@typescript-eslint/no-shadow': ['error'], | ||
'@typescript-eslint/no-use-before-define': ['error', { functions: false }], | ||
'@typescript-eslint/prefer-includes': 'error', | ||
'@typescript-eslint/prefer-nullish-coalescing': 'error', | ||
'@typescript-eslint/prefer-optional-chain': 'error', | ||
'@typescript-eslint/prefer-string-starts-ends-with': 'error', | ||
'@typescript-eslint/prefer-reduce-type-parameter': 'error', | ||
'@typescript-eslint/type-annotation-spacing': 'error', | ||
}, | ||
@@ -26,0 +35,0 @@ overrides: [ |
{ | ||
"name": "@jenssimon/eslint-config-typescript", | ||
"version": "1.0.3", | ||
"version": "2.0.0", | ||
"description": "ESLint configuration for usage with TypeScript", | ||
@@ -23,24 +23,24 @@ "main": "index.js", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint": "^7.12.1", | ||
"eslint-config-airbnb": "^18.2.0", | ||
"eslint-config-airbnb-base": "^14.2.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-dollar-sign": "^1.0.2", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-jest": "^23.13.2", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.1.0", | ||
"eslint-plugin-jquery": "^1.5.1", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-optimize-regex": "^1.2.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-react": "^7.20.0", | ||
"eslint-plugin-react-hooks": "^4.0.4", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0", | ||
"typescript": "^3.9.5" | ||
"typescript": "^4.0.5" | ||
}, | ||
"peerDependencies": { | ||
"@typescript-eslint/eslint-plugin": ">=2.25.0", | ||
"@typescript-eslint/parser": ">=2.25.0" | ||
"@typescript-eslint/eslint-plugin": ">=4.5.0", | ||
"@typescript-eslint/parser": ">=4.5.0" | ||
}, | ||
"private": false | ||
} |
5762
52