Skip to content

Commit

Permalink
chore: фикс версии eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Goodluckhf committed Jul 8, 2019
1 parent d870561 commit e4ef52b
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 46 deletions.
13 changes: 9 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: [
'eslint-config-airbnb-base',
'plugin:@typescript-eslint/recommended',
Expand All @@ -10,13 +11,17 @@ module.exports = {
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
project: './tsconfig.json',
},
rules: {
'@typescript-eslint/no-parameter-properties': {
allows: ['private readonly'],
},
'@typescript-eslint/no-parameter-properties': [
'error',
{
allows: ['private readonly'],
},
],
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/interface-name-prefix': 'always',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'import/prefer-default-export': 'off',
'no-useless-constructor': 'off',
Expand Down
63 changes: 22 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"coveralls": "^3.0.4",
"eslint": "^6.0.1",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.0",
Expand Down

0 comments on commit e4ef52b

Please sign in to comment.