wework / eslint-config-wework Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Eslint-config-wework has unmet peer dependencies. I am on yarn 1.0, and npm v5.4.2
running yarn
causes the following errors:
warning "[email protected]" has unmet peer dependency "[email protected]". warning "[email protected]" has unmet peer dependency "[email protected]". warning "[email protected]" has unmet peer dependency "[email protected]". warning "[email protected]" has unmet peer dependency "[email protected]". warning "[email protected]" has unmet peer dependency "[email protected]". warning "[email protected]" has unmet peer dependency "[email protected]". warning "[email protected]" has unmet peer dependency "[email protected]". warning "[email protected]" has incorrect peer dependency "[email protected]". warning "[email protected]" has unmet peer dependency "[email protected]".
Examples can be very helpful, but are not always necessary.
@GLosch and others have made the case that import _ from 'lodash'
is preferable to import { foo } from 'lodash'
. Opening this to capture that concern and to open a channel for discussion.
https://github.com/eslint-plugins/eslint-plugin-lodash/blob/master/docs/rules/import.md is a nice way to enfore the named-import approach. I'm sure something exists for the whole lib approach, or we could make a custom rule.
This is also app specific and relates to things like https://github.com/lodash/babel-plugin-lodash, and https://github.com/lodash/lodash-webpack-plugin, but I agree some degree of consistency across apps here would be ๐ฏ
In code reviews, a common request is to use Lodash _.get
in place of referencing deeply nested data structures like foo.bar.moreFoo.moreBar
to avoid potential JavaScript errors that would break the page. Implementing the prefer-get
rule here would take care of this.
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.