eslint-config-wzx-react
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
"pre-commit": "npm run lint-staged", | ||
"commit-msg": "npm run commit-lint" | ||
} | ||
} |
{ | ||
"*.js": [ | ||
"prettier --write", | ||
"eslint --fix", | ||
"git add" | ||
"eslint --fix" | ||
] | ||
} |
{ | ||
"name": "eslint-config-wzx-react", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "The custom react eslint rules based on airbnb", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
@@ -10,3 +13,5 @@ "lint": "eslint *.js", | ||
"test": "npm run lint && nyc ava", | ||
"cover:report": "nyc report --reporter=text-lcov > coverage.lcov" | ||
"cover:report": "nyc report --reporter=text-lcov > coverage.lcov", | ||
"lint-staged": "lint-staged", | ||
"commit-lint": "commitlint -E HUSKY_GIT_PARAMS" | ||
}, | ||
@@ -31,10 +36,10 @@ "repository": { | ||
"dependencies": { | ||
"babel-eslint": "^10.0.3", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.0.1", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.2.0", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-react": "^7.18.3", | ||
"eslint-plugin-react-hooks": "^2.3.0" | ||
"eslint-plugin-react": "^7.20.0", | ||
"eslint-plugin-react-hooks": "^4.0.4" | ||
}, | ||
@@ -44,8 +49,8 @@ "devDependencies": { | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"ava": "^3.3.0", | ||
"husky": "^4.2.1", | ||
"lint-staged": "^10.0.7", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.19.1" | ||
"ava": "^3.8.2", | ||
"husky": "^4.2.5", | ||
"lint-staged": "^10.2.10", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.0.5" | ||
} | ||
} |
# eslint-config-wzx-react | ||
[![NPM version](https://img.shields.io/npm/v/eslint-config-wzx-react)](https://www.npmjs.com/package/eslint-config-wzx-react) | ||
[![node](https://img.shields.io/node/v/eslint-config-wzx-react)](https://nodejs.org) | ||
[![Build Status](https://travis-ci.com/VicSolWang/eslint-config-wzx-react.svg?branch=master)](https://travis-ci.com/VicSolWang/eslint-config-wzx-react) | ||
@@ -5,0 +6,0 @@ [![codecov](https://codecov.io/gh/VicSolWang/eslint-config-wzx-react/branch/master/graph/badge.svg)](https://codecov.io/gh/VicSolWang/eslint-config-wzx-react) |
@@ -36,2 +36,3 @@ { | ||
"implicit-arrow-linebreak": "off", | ||
"import/no-dynamic-require": "off", | ||
"import/no-extraneous-dependencies": [ | ||
@@ -38,0 +39,0 @@ "error", |
Sorry, the diff of this file is not supported yet
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
6856
26
+ Added@babel/code-frame@7.12.11(transitive)
+ Added@babel/highlight@7.25.9(transitive)
+ Added@eslint/eslintrc@0.4.3(transitive)
+ Added@humanwhocodes/config-array@0.5.0(transitive)
+ Added@humanwhocodes/object-schema@1.2.1(transitive)
+ Addedajv@8.17.1(transitive)
+ Addedansi-colors@4.1.3(transitive)
+ Addedastral-regex@2.0.0(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedenquirer@2.4.1(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedeslint@7.32.0(transitive)
+ Addedeslint-plugin-react-hooks@4.6.2(transitive)
+ Addedeslint-utils@2.1.0(transitive)
+ Addedeslint-visitor-keys@2.1.0(transitive)
+ Addedespree@7.3.1(transitive)
+ Addedfast-uri@3.0.3(transitive)
+ Addedfile-entry-cache@6.0.1(transitive)
+ Addedflat-cache@3.2.0(transitive)
+ Addedflatted@3.3.2(transitive)
+ Addedglobals@13.24.0(transitive)
+ Addedjson-buffer@3.0.1(transitive)
+ Addedjson-schema-traverse@1.0.0(transitive)
+ Addedkeyv@4.5.4(transitive)
+ Addedlevn@0.4.1(transitive)
+ Addedlodash.merge@4.6.2(transitive)
+ Addedlodash.truncate@4.4.2(transitive)
+ Addedoptionator@0.9.4(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedprelude-ls@1.2.1(transitive)
+ Addedregexpp@3.2.0(transitive)
+ Addedrequire-from-string@2.0.2(transitive)
+ Addedrimraf@3.0.2(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedslice-ansi@4.0.0(transitive)
+ Addedtable@6.9.0(transitive)
+ Addedtype-check@0.4.0(transitive)
+ Addedtype-fest@0.20.2(transitive)
+ Addedwhich@2.0.2(transitive)
- Removedansi-escapes@4.3.2(transitive)
- Removedansi-regex@4.1.1(transitive)
- Removedastral-regex@1.0.0(transitive)
- Removedchardet@0.7.0(transitive)
- Removedcli-cursor@3.1.0(transitive)
- Removedcli-width@3.0.0(transitive)
- Removedcross-spawn@6.0.6(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedeslint@6.8.0(transitive)
- Removedeslint-plugin-react-hooks@2.5.1(transitive)
- Removedeslint-utils@1.4.3(transitive)
- Removedespree@6.2.1(transitive)
- Removedexternal-editor@3.1.0(transitive)
- Removedfigures@3.2.0(transitive)
- Removedfile-entry-cache@5.0.1(transitive)
- Removedflat-cache@2.0.1(transitive)
- Removedflatted@2.0.2(transitive)
- Removedglobals@12.4.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinquirer@7.3.3(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedlevn@0.3.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedmute-stream@0.0.8(transitive)
- Removednice-try@1.0.5(transitive)
- Removedonetime@5.1.2(transitive)
- Removedoptionator@0.8.3(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedregexpp@2.0.1(transitive)
- Removedrestore-cursor@3.1.0(transitive)
- Removedrimraf@2.6.3(transitive)
- Removedrun-async@2.4.1(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedslice-ansi@2.1.0(transitive)
- Removedstring-width@3.1.0(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedtable@5.4.6(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtmp@0.0.33(transitive)
- Removedtslib@1.14.1(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedtype-fest@0.21.30.8.1(transitive)
- Removedwhich@1.3.1(transitive)
- Removedwrite@1.0.3(transitive)
Updatedbabel-eslint@^10.1.0
Updatedeslint@^7.2.0
Updatedeslint-config-airbnb@^18.1.0
Updatedeslint-plugin-import@^2.21.2
Updatedeslint-plugin-react@^7.20.0