Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fmfe/eslint-config-fmfe-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fmfe/eslint-config-fmfe-nodejs

ESLint configuration of Followme Frontend Team Node.js group Edit

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-fmfe-nodejs

ESLint configuration of Followme Frontend Team Node.js group, base on standard.

usage

edit configuration file:

$ touch .eslintrc.js
module.exports = {
  extends: 'fmfe-nodejs',
};

install

$ npm install eslint-config-fmfe-nodejs -D
$ ./node_modules/.bin/eslint *.js

or

$ npm install eslint eslint-config-fmfe-nodejs -g
$ eslint *.js

rules

  • 基本规则
  • 附加规则
    • 行尾必须加分号
    • 缩进使用 4 个空格
    • 要求使用 let 或 const 而不是 var
    • 优先使用 const,其次才是 let

contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

license

this repo is released under the MIT License.

Keywords

FAQs

Package last updated on 01 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc