ueno-llc / styleguide Goto Github PK
View Code? Open in Web Editor NEWUeno's code style guide and linter configs
Home Page: https://ueno.co
License: MIT License
Ueno's code style guide and linter configs
Home Page: https://ueno.co
License: MIT License
Add: "react/jsx-closing-tag-location": 0
We are using everywhere
<Component>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque a diam ultrices, pellentesque dolor sed, suscipit diam. Nunc fermentum maximus nunc ac cursus. Aliquam egestas aliquet arcu. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus porta mattis finibus. </Component>
Which fires a: Closing tag of a multiline JSX expression must be on its own line
Palantir maintaining tslint announced they will stop working on it as soon as eslint/tslint configs will be more mature. It's an agreement made between Microsoft (typescript) / eslint / palantir (tslint)
Cf:
https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser
https://medium.com/palantir/tslint-in-2019-1a144c2317a9?fbclid=IwAR0JfKT8leqEQhogOvmmPBESP5ZBrgYFFsrtpdox42pX_b-dWVgQvle14eQ
Instead of hardcoding @observable, have the rule configurable with array of strings to enforce newline.
That way we can easily add more properties like @computed
, @action
and so on.
We have to wait the next update of eslint-plugin-react
to fix the use of the new params of this rule: jsx-eslint/eslint-plugin-react#1469
Wanted to use this in a non-react project so the react rules wouldn't apply. Should there be a base config separate from react and jsx rules like we do with react-native config?
Something like for base:
"extends": "@ueno"
and for react
"extends": "@ueno/eslint-config/react"
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.