包详细信息

@znemz/eslint-plugin-nem

nmccready35MIT0.0.1

eslint custom rules

eslint, eslintconfig, config, airbnb

自述文件

eslint-plugin-nem

module.exports = {
  plugins: ['@znemz/nem'],
  '@znemz/nem/no-import-pathing-dot-slash-dotdot': 2
  ...
}

Workflow

Refer to the guide Creating an ESLint Plugin.

Scaffolding for rule creation

yarn yo eslint:rule
? What is your name? ...
? Where will this rule be published? ESLint Plugin
? What is the rule ID? no-full-fp-lib
? Type a short description of this rule: ...
? Type a short example of the code that will fail: var _ = require('your favorite fp library');