Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Comments (4)
/*
后面有空格,删了就好。from vue-demo-cnodejs.
不,把空格删了也不行。我初步查了下好像是.eslinttrc.js 里面改一下配置,我添加了
'semi': [
'error',
'always',
{
omitLastInOneLineBlock: false
}
],
现在js是可以加分号了,但是还是不能加注释,我还在查原因
from vue-demo-cnodejs.
你这么纠结,那就把
eslint
关掉就好了么。开启它的作用是团队协作的时候有一个标准的代码规范,便于代码审查以及工作交接。而不是为了把它配得适合你自己的书写习惯。所以如果你不喜欢,就关掉就好了,不用去配置这个买卖儿。
from vue-demo-cnodejs.
一直没用过 /* */ 的注释,刚刚测试了一下,没有任何问题,不会报错。
from vue-demo-cnodejs.
Related Issues (5)