yoctol / eslint-config-yoctol Goto Github PK
View Code? Open in Web Editor NEWYoctol specific linting rules for ESLint
Yoctol specific linting rules for ESLint
devDependency
react was updated from 16.8.6
to 16.9.0
.This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the react group definition.
react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
<React.Profiler>
API for gathering performance measurements programmatically. (@bvaughn in #15172)unstable_ConcurrentMode
in favor of unstable_createRoot
. (@acdlite in #15532)UNSAFE_*
lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)javascript:
URLs as a common attack surface. (@sebmarkbage in #15047)disablePictureInPicture
attribute on <video>
. (@eek in #15334)onLoad
event for <embed>
. (@cherniavskii in #15614)useState
state from DevTools. (@bvaughn in #14906)setState
is called from useEffect
, creating a loop. (@gaearon in #15180)findDOMNode
for components wrapped in <Suspense>
. (@acdlite in #15312)!important
style. (@acdlite in #15861 and #15882)act(async () => ...)
for testing asynchronous state updates. (@threepointone in #14853)act
from different renderers. (@threepointone in #16039 and #16042)act()
call. (@threepointone in #15763 and #16041)act
from the wrong renderer. (@threepointone in #15756)• react: https://unpkg.com/[email protected]/umd/
• react-art: https://unpkg.com/[email protected]/umd/
• react-dom: https://unpkg.com/[email protected]/umd/
• react-is: https://unpkg.com/[email protected]/umd/
• react-test-renderer: https://unpkg.com/[email protected]/umd/
• scheduler: https://unpkg.com/[email protected]/umd/
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Sometime I just want to use a state in a function, but this rule is confusing.
// disabled react/destructuring-assignment
getValue = () => this.state.value;
// enable react/destructuring-assignment
getValue = () => {
const { value } = this.state;
return value;
}
7.14.0
to 7.14.1
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
62255af
Update CHANGELOG and bump version
655eb01
Merge pull request #2320 from golopot/issue-2319
9639d82
[Fix] prop-types
: fix crash on multiple destructuring
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md#rule-details
so we can use <Component role="foo">
for custom components
6.2.1
to 6.2.2
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-jsx-a11y is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 102 commits.
057fb27
6.2.2
fc56208
Merge pull request #615 from evcohen/changelog--v6.2.2
8c5f964
Changelog for v6.2.2
f82fbcb
Merge pull request #614 from evcohen/update--jsx-ast-utils
1c3e63a
Update jsx-ast-utils to v2.2.1
c571293
Merge pull request #613 from evcohen/add-babel-to-dev-deps
c398d3a
Add @babel/cli to the dev dependencies
13b370c
Merge pull request #610 from evcohen/greenkeeper/flow-bin-0.102.0
e28b81a
Merge branch 'master' into greenkeeper/flow-bin-0.102.0
e3163e3
Merge pull request #603 from evcohen/another-attempt-at-eslint-v6
f121a78
Merge branch 'master' into another-attempt-at-eslint-v6
f3de162
Merge pull request #611 from evcohen/update-jsx-ast-utils
91f17be
Update ESLint to v6
1eb9f19
Update jsx-ast-utils to 2.2.0
313bc03
chore(package): update flow-bin to version 0.102.0
There are 102 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
1.2.0
to 1.3.0
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react-hooks is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
18.0.0
to 18.0.1
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-config-airbnb is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md
這樣?
"react/sort-prop-types": ["error", {
"callbacksLast": true,
"ignoreCase": false,
"requiredFirst": true,
}]
Branch | Build failing 🚨 |
---|---|
Dependency | eslint-plugin-import |
Current Version | 2.7.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 35 commits.
95b1ba6
disable AppVeyor coveralls
4071379
#842/#944 changelog note
8702af7
#744 changelog note
91c5318
#886 / #891 changelog notes
1b3f544
bump v2.8.0
cef88f2
Merge pull request #944 from alexgorbatchev/alexgorbatchev/issue-842
c246b9e
#842 Fixes Cannot read property 'some' of undefined
1958e0b
[Tests] fix broken test on master
68f63f5
forgot @k15a's user link 😅
5f5fbf6
changelog notes for #620 + #632
92dd662
Merge pull request #632 from k15a/master
1ba1c3a
removing changelog note, will re-add
146f87f
changelog notes for #720 + #858
57527c7
Merge pull request #858 from laysent/master
006ddeb
Merge remote-tracking branch 'refs/remotes/benmosher/master'
There are 35 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
eslint-config-airbnb ^18.2.1
eslint-config-yoctol-base ^0.24.2
eslint 7.32.0
eslint-plugin-import 2.24.2
eslint-plugin-jsx-a11y 6.4.1
eslint-plugin-prettier 4.0.0
eslint-plugin-react 7.26.1
eslint-plugin-react-hooks 4.2.0
eslint-plugin-sort-imports-es6-autofix 0.6.0
prettier 2.4.1
react 17.0.2
eslint >=7.7.0
eslint-plugin-import ^2.24.2
eslint-plugin-jsx-a11y ^6.4.1
eslint-plugin-prettier ^3.1.0 || ^4.0.0
eslint-plugin-react ^7.25.2
eslint-plugin-react-hooks ^4.2.0
eslint-plugin-sort-imports-es6-autofix ^0.6.0
prettier >=2.0.0
node >=10
.travis.yml
node 12
node 10
2.18.0
to 2.18.1
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 14 commits.
b51aa2f
Bump to v2.18.1
32704da
fix: Improve parse perf when using @typescript-eslint/parser
3b21de6
[Tests] extract common "get parser" logic into test helpers
f4e3f1b
prefer-default-export: don't warn on TypeAlias & TSTypeAliasDeclaration
1caa402
[Fix] no-unused-modules
: Exclude package "main"/"bin"/"browser" entry points
22d5440
[fix] export
: false positive for typescript overloads
5abd5ed
[Tests] temporarily disable these failing tests in eslint < 4
752dcd5
[Tests] add missing --no-save
to time travel script
d3a3fa5
[Refactor] no-extraneous-dependencies
: remove the last bit of lodash
8a38fd4
[Refactor] no-extraneous-dependencies
: use Array.isArray
instead of lodash
c5078ad
[Refactor] importType
: remove use of cond
118afd4
no-deprecated: don't run tests for typescript-eslint-parser against ESLint <4
6512110
fix tests for node 4 + fixed lint issues
bb9ba24
no-deprecated TS tests (#1315)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Following usage looks ok to me:
onClick={() => doSomething()}
想改成 'react/jsx-filename-extension': [2, { extensions: ['.js', '.jsx'] }],
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)
我們要統一使用 15 嗎?
'react/no-deprecated': [1, { 'react': '0.14.0' }],
react-native 也開始使用 15
https://github.com/facebook/react-native/blob/master/package.json#L127
0.21.0
to 0.21.1
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-config-yoctol-base is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
devDependency
react was updated from 16.6.1
to 16.6.2
.This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the react group definition.
react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
5.15.3
to 5.16.0
.This version is covered by your current version range and after updating it in your project the build failed.
eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
dfef227
Build: gensite passes rulesMeta to formatter rendering (#11567) (Kevin Partington)c06d38c
Fix: Allow HTML formatter to handle no meta data (#11566) (Ilya Volodin)87a5c03
Docs: func-style
: clarify when allowArrowFunctions
is used (#11548) (Oliver Joseph Ash)bc3e427
Update: pass rule meta to formatters RFC 10 (#11551) (Chris Meyer)b452f27
Chore: Update README to pull in reviewer data (#11506) (Nicholas C. Zakas)afe3d25
Upgrade: Bump js-yaml dependency to fix Denial of Service vulnerability (#11550) (Vernon de Goede)4fe7eb7
Chore: use nyc instead of istanbul (#11532) (Toru Nagashima)f16af43
Chore: fix formatters/table test (#11534) (Toru Nagashima)78358a8
Docs: fix duplicate punctuation in CLI docs (#11528) (Teddy Katz)The new version differs by 11 commits.
ded2f94
5.16.0
ea36e13
Build: changelog update for 5.16.0
dfef227
Build: gensite passes rulesMeta to formatter rendering (#11567)
c06d38c
Fix: Allow HTML formatter to handle no meta data (#11566)
87a5c03
Docs: func-style
: clarify when allowArrowFunctions
is used (#11548)
bc3e427
Update: pass rule meta to formatters RFC 10 (#11551)
b452f27
Chore: Update README to pull in reviewer data (#11506)
afe3d25
Upgrade: Bump js-yaml dependency to fix Denial of Service vulnerability (#11550)
4fe7eb7
Chore: use nyc instead of istanbul (#11532)
f16af43
Chore: fix formatters/table test (#11534)
78358a8
Docs: fix duplicate punctuation in CLI docs (#11528)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
6.1.0
to 6.2.0
.This version is covered by your current version range and after updating it in your project the build failed.
eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
fee6acb
Update: support bigint and dynamic import (refs #11803) (#11983) (Toru Nagashima)afd8012
New: noInlineConfig setting (refs eslint/rfcs#22) (#12091) (Toru Nagashima)3d12378
Update: Fix accessor-pairs to enforce pairs per property in literals (#12062) (Milos Djermanovic)8cd00b3
New: function-call-argument-newline (#12024) (finico)30ebf92
Fix: prefer-template autofix produces syntax error with octal escapes (#12085) (Milos Djermanovic)13c3988
Fix: Check literal type explicitly in dot-notation (#12095) (Milos Djermanovic)3e5ceca
Fix: Handle empty string property names in getFunctionNameWithKind (#12104) (Milos Djermanovic)9a043ff
Fix: no-duplicate-case false positives on Object.prototype keys (#12107) (Milos Djermanovic)fe631af
Chore: minor typo fix (#12112) (James George)4cb7877
Fix: fix no-extra-parens ignores some nodes (#11909) (Pig Fang)2dc23b8
Update: fix no-dupe-keys false negatives on empty string names (#12069) (Milos Djermanovic)19ab666
Fix: yoda exceptRange false positives on empty string property names (#12071) (Milos Djermanovic)d642150
Update: Check empty string property names in sort-keys (#12073) (Milos Djermanovic)acce6de
Fix: class-methods-use-this reports 'undefined' names (#12103) (Milos Djermanovic)92ec2cb
Fix: Allow bind call with a single spread element in no-extra-bind (#12088) (Milos Djermanovic)bfdb0c9
Fix: no-extra-boolean-cast invalid autofix for Boolean() without args (#12076) (Milos Djermanovic)34ccc0c
Chore: Remove TDZ scope type condition from no-unused-vars (#12055) (Milos Djermanovic)01d38ce
Docs: Remove TDZ scope from the scope manager interface documentation (#12054) (Milos Djermanovic)1aff8fc
Update: warn about mixing ternary and logical operators (fixes #11704) (#12001) (Karthik Priyadarshan)11be2f8
Docs: do not recommend global-installed usage (#12016) (薛定谔的猫)cf31dab
Fix: no-restricted-syntax - correct the schema (#12051) (Brad Zacher)fbec99e
Update: fix class-methods-use-this false negatives with exceptMethods (#12077) (Milos Djermanovic)fb08b7c
Docs: Remove readonly/writable global logic from no-undef (fixes #11963) (#12053) (Milos Djermanovic)5b5934b
Sponsors: Sync README with website (ESLint Jenkins)9156760
Sponsors: Sync README with website (ESLint Jenkins)f5e0cc4
Update: Check computed method keys in no-extra-parens (#11973) (Milos Djermanovic)d961438
Docs: Fix Incorrect Documentation (#12045) (Michael Miceli)887d08c
Sponsors: Sync README with website (ESLint Jenkins)d90183f
Docs: add a case to func-names (#12038) (Chiawen Chen)8a5b62d
Docs: no use eslint.linter in code example (#12037) (薛定谔的猫)5831767
Update: report location of func-names (fixes #12022) (#12028) (Pig Fang)The new version differs by 33 commits.
320b7bd
6.2.0
9601f5a
Build: changelog update for 6.2.0
fee6acb
Update: support bigint and dynamic import (refs #11803) (#11983)
afd8012
New: noInlineConfig setting (refs eslint/rfcs#22) (#12091)
3d12378
Update: Fix accessor-pairs to enforce pairs per property in literals (#12062)
8cd00b3
New: function-call-argument-newline (#12024)
30ebf92
Fix: prefer-template autofix produces syntax error with octal escapes (#12085)
13c3988
Fix: Check literal type explicitly in dot-notation (#12095)
3e5ceca
Fix: Handle empty string property names in getFunctionNameWithKind (#12104)
9a043ff
Fix: no-duplicate-case false positives on Object.prototype keys (#12107)
fe631af
Chore: minor typo fix (#12112)
4cb7877
Fix: fix no-extra-parens ignores some nodes (#11909)
2dc23b8
Update: fix no-dupe-keys false negatives on empty string names (#12069)
19ab666
Fix: yoda exceptRange false positives on empty string property names (#12071)
d642150
Update: Check empty string property names in sort-keys (#12073)
There are 33 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | eslint-config-airbnb |
Current Version | 16.0.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
eslint-config-airbnb is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.