smocean / eslint-zh Goto Github PK
View Code? Open in Web Editor NEWThis project forked from eslint/archive-website
ESLint 中文网站
Home Page: http://eslint.cn
License: MIT License
This project forked from eslint/archive-website
ESLint 中文网站
Home Page: http://eslint.cn
License: MIT License
Choose an unchecked task form #15, e.g. docs/developer-guide/contributing/index.md
Apply for it here with the following pattern:
**Application:** `docs/developer-guide/contributing/index.md`
if you receive a response like below, you can work on it:
thanks @your name: `docs/developer-guide/contributing/index.md`
docs/developer-guide/contributing/index
One of the great things about open source projects is that anyone can contribute in any number of meaningful ways
开源项目最伟大的地方之一在于任何人都能够以有意义的方式作出贡献, 方式数量不限
[docs/rules/accessor-pairs]
Rule Details
规则细则
docs/developer-guide/contributing/new-rules
In general, ESLint core rules must be
一般而言,ESLint 核心规则必须具有如下特点
docs/developer-guide/contributing/new-rules
Even though these are the formal criteria for inclusion, each rule is evaluated on its own basis.
中英文切换,根据解析后的文档,奇数行为英文,偶数行为中文,针对此情况添加了对应样式styles/mixed.css
,只是为了方便校对,正式上线时,会去掉
[docs/rules/no-cond-assign]
Rule Details
规则详情
[docs/rules/comma-dangle]
On the other hand, trailing commas simplify adding and removing items to objects and arrays,since only the lines you are modifying must be touched.
另一方面,拖尾逗号简化了对象和数组元素的添加和删除,因为仅有你要修改的行是必须得到触及的。
[docs/developer-guide/contributing/reporting-bugs]
If you think you've found a bug in ESLint, please create a new issue on GitHub
如果你认为你发现了ESLint的一个bug,请在GitHub上创建一个新的议题
They either prescribe a better way of doing something or help you avoid footguns.
The following patterns are not considered problems by default:
默认情况下,以下模式被认为是没有问题的:
[docs/rules/no-console]
In JavaScript that is designed to be executed in the browser, it's considered a best practice to avoid using methods on console
在被设计成在浏览器中运行的JavaScript中,避免使用console的方法被认为是一种最佳作法
This option requires that the comma be placed before and be in the same line as the variable declaration, object property and array element.
对于变量声明,对象属性和数组元素这些情况,该选项要求逗号放置在声明前面,并且与声明处于同一行。
[docs/developer-guide/contributing/pull-requests]
That decreases the likelihood that your code is going ***to get included* in a timely manner
它会降低你的代码及时地被收纳的可能性
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.