神刀安全网

awesome-eslint: A list of awesome ESLint plugins, configs, etc.

Awesome ESLint awesome-eslint: A list of awesome ESLint plugins, configs, etc.

awesome-eslint: A list of awesome ESLint plugins, configs, etc.

A list of awesome ESLint configs, plugins, etc.

awesome-eslint: A list of awesome ESLint plugins, configs, etc.

If you want to contribute, please read the contribution guidelines .

Table of Contents

Configs

  • Airbnb – Shareable config forAirbnb’s style guide
  • ESLint – Shareable config for ESLint’s default settings
  • Google – Shareable config for the Google style
  • Standard – Shareable config for JavaScriptStandard Style
  • XO – Shareable config forXO

Parsers

  • Babel – Use Babel’s parser for linting all Babel features

Plugins

Frameworks and Libraries

  • Angular – Linting rules to adhere to the John Papa’s Angular Styleguide
  • AVA – Linting rules for AVA
  • Backbone – Linting rules for Backbone
  • Jasmine – Linting rules for Jasmine
  • JSDoc – Linting rules for JSDoc comments
  • Lodash – Lodash specific linting rules
  • Meteor – Meteor specific linting rules
  • Mocha – Linting rules for Mocha
  • React – Linting rules for React and JSX
  • React Native – React Native specific linting rules

Misc.

  • Babel – Adds replacements for built-in rules to include Babel features
  • Flow – Flow type linting rules
  • import – Linting of ES2015+ import/export syntax, and prevent issues with misspelling of file paths and import names
  • Markdown – Linting JavaScript in Markdown
  • XO – Various useful rules

Practices

  • Immutable – Disable all mutation in JavaScript
  • new-with-error – Require errors to be thrown using new
  • no-inferred-method-name – Custom rule for ESLint that checks for inferred method names within object literals.
  • no-use-extend-native – Prevent using extended native objects

Style

  • import-order – Enforce the order of import/require statements
  • no-empty-blocks – Allows empty catch blocks, while disallowing other empty blocks

Tools

  • eslint-find-rules – Find built-in ESLint rules you don’t have in your custom config

License

awesome-eslint: A list of awesome ESLint plugins, configs, etc.

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » awesome-eslint: A list of awesome ESLint plugins, configs, etc.

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址