react exception

Block must not be padded by blank lines. 97:29  error  A space is required after ','            comma-spacing   114:18  error  Strings must use singlequote                   quotes   170:23  error  Extra semicolon                          semi   172:18  error  Infix operators must be spaced           space-infix-ops   173:46  error  Missing space before opening brace       space-before-blocks   190:20  error  Block must not be padded by blank lines  padded-blocks   191:1   error  Trailing spaces not allowed              no-trailing-spaces   197:10  error  Newline required at end of file but not found  eol-last 1、逗号后面要加空格 2、不能使用双引号,要使用单引号。 3、不能使用分号;这是我觉得最坑爹的地方 4、运算符前后要有空格(Java有这样的规范,但不强制) 5、开括号前要有空格“ { ” 6、代码块里不能有空行 7、代码结尾不能带空格(很难发现,烦) 8、文件结尾需要换行 # 'nodemon' 不是内部或外部命令,也不是可运行的程序 npm install -g nodemon # Refer [x] https://blog.csdn.net/qq_37479735/article/details/90918337 [x]