eslint-config-travix
Advanced tools
Comparing version 5.6.1 to 5.7.0
@@ -46,2 +46,4 @@ "use strict"; | ||
}], | ||
'react-hooks/exhaustive-deps': 'error', | ||
'react-hooks/rules-of-hooks': 'error', | ||
'react/destructuring-assignment': ['error', 'always', { ignoreClassFields: true }], | ||
@@ -48,0 +50,0 @@ 'react/forbid-prop-types': ['error', { forbid: ['any'] }], |
{ | ||
"name": "eslint-config-travix", | ||
"version": "5.6.1", | ||
"version": "5.7.0", | ||
"description": "ESLint configuration for Travix International", | ||
"main": "lib/index.js", | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"copy:package": "cpy package*.json ./lib", | ||
"lint": "tslint src/**/*.ts", | ||
"lint": "tslint -p tsconfig.json", | ||
"build": "rimraf lib && tsc && npm run copy:package", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"src/**/*.ts": [ | ||
"npm run lint -- --fix", | ||
"git add" | ||
] | ||
}, | ||
"repository": { | ||
@@ -29,12 +43,19 @@ "type": "git", | ||
"devDependencies": { | ||
"@semantic-release/changelog": "3.0.1", | ||
"@semantic-release/exec": "3.3.0", | ||
"@semantic-release/git": "7.0.5", | ||
"@semantic-release/changelog": "3.0.2", | ||
"@semantic-release/exec": "3.3.2", | ||
"@semantic-release/git": "7.0.8", | ||
"@types/node": "10.12.10", | ||
"cpy-cli": "2.0.0", | ||
"rimraf": "2.6.2", | ||
"semantic-release": "15.9.8", | ||
"eslint-config-airbnb": "17.1.0", | ||
"eslint-plugin-import": "2.14.0", | ||
"eslint-plugin-jsx-a11y": "6.1.1", | ||
"eslint-plugin-react": "7.11.1", | ||
"eslint-plugin-react-hooks": "1.3.0", | ||
"husky": "1.3.1", | ||
"lint-staged": "8.1.4", | ||
"rimraf": "2.6.3", | ||
"semantic-release": "15.13.4", | ||
"simple-commit-message": "4.0.3", | ||
"tslint": "5.11.0", | ||
"typescript": "3.1.6" | ||
"tslint": "5.13.0", | ||
"typescript": "3.3.3" | ||
}, | ||
@@ -45,3 +66,4 @@ "peerDependencies": { | ||
"eslint-plugin-jsx-a11y": "^6.1.1", | ||
"eslint-plugin-react": "^7.11.1" | ||
"eslint-plugin-react": "^7.11.1", | ||
"eslint-plugin-react-hooks": "^1.3.0" | ||
}, | ||
@@ -51,3 +73,2 @@ "release": { | ||
"noCi": true, | ||
"branch": "migrate-to-ts", | ||
"pkgRoot": "lib", | ||
@@ -54,0 +75,0 @@ "prepare": [ |
4344
65
5
17