5.0.0 • Published 5 years ago

eslint-plugin-standard v5.0.0

Weekly downloads
1,579,368
License
MIT
Repository
github
Last release
5 years ago

eslint-plugin-standard travis npm downloads javascript style guide

Deprecated: This package isn't used by standard anymore, as of standard v16. See: https://github.com/standard/standard/issues/1316

ESlint Rules for the Standard Linter

Usage

npm install --save-dev eslint-plugin-standard

Configuration

module.exports = {
  rules: {
    'standard/object-curly-even-spacing': [2, 'either'],
    'standard/array-bracket-even-spacing': [2, 'either'],
    'standard/computed-property-even-spacing': [2, 'even'],
    'standard/no-callback-literal': [2, ['cb', 'callback']]
  }
}

Rules Explanations

There are several rules that were created specifically for the standard linter.

  • object-curly-even-spacing - Like object-curly-spacing from ESLint except it has an either option which lets you have 1 or 0 spaces padding.
  • array-bracket-even-spacing - Like array-bracket-even-spacing from ESLint except it has an either option which lets you have 1 or 0 spacing padding.
  • computed-property-even-spacing - Like computed-property-spacing around ESLint except is has an even option which lets you have 1 or 0 spacing padding.
  • no-callback-literal - Ensures that we strictly follow the callback pattern with undefined, null or an error object in the first position of a callback.
whzbcx_web_comswhzbcx_web_cxwhzbcx_web_cx3whzbcx_web_cxewhzbcx_web_cxgiswhzbcx_web_gwwhzbcx_web_sjzxwhzbcx_web_swdzwhzbcx_web_xjwhzbcx_web_yzxcc-standard-eslint@varet/zj2m-prom-exportereslint-config-nectis@maiscrm/eslint-config-frontendreact-antd-scripts-new@wheresalice/standard-adfreeeslint-config-contra@oka_technology/eslint-config@suozhao/eslint-vue-168ch168vueeslinteslint-vue-168videocapturinghaodfplusnode-next-servermo-foundation-baseeslint-config-standard-vincent@outcome-co/eslint-config@mole/eslint-config-vueeslint-config-slickidvcyp-mdlinksyp-.mdlinksprobica15probica16@fooxly/eslint-config-react-nativetogether-lib@mark42/deploy@straal/eslint-config-fp-startereslint-config-smarchetti@scalara/eslintconfigeslint-config-prettystandard-vuezjlab-clieslint-config-demingdemingeslint-config-kelexkelex-clislm_cdkkelex-plugin-lintkelex-plugin-apptemp2-test-scriptssteam-web-api-fetchsteam-web-api-build-urleslint-config-mti@iftek/standardcq-batch-templatedeming-linterbb-chat@usehatchapp/eslint-config-hatchcontentclustertlg-managerclean-slate-lint@selfagencyllc/dev-tools@workrails/wr-catalog-baseeslint-config-airspacealex-d.jsvue-reverse@joseirrazabal/kitmagic-home-scaffold@hubvisor/build-core@rexlabs-spicerhaart/eslint-config-semistandard@schoonlabs/blockstestba1ltestbalyml-public-uitabulation-everywhereeslint-config-jp-reacteduieslint-config-standard-airbnb-bundlebbc_clifujing-plugineslint-config-medopad@mr_fujing/selfbreki-styleguidessnowgemjseslint-config-leedavidcsneato@hesburgh-wse/eslint-config-hesburghanm.pa.search.widgetukor-remasterfirenpmweb-hook-test-lambdabeefly@respondea/cordova-plugin-v-inappbrowsereslint-config-gojutineslint-config-aps@infinitebrahmanuniverse/nolb-eslint-plugin-seslint-config-wunderflatsi-antdlucasaugustscode-eslint-configinflumy-lint
5.0.0

5 years ago

4.1.0

5 years ago

4.0.2

5 years ago

4.0.1

6 years ago

4.0.0

7 years ago

3.1.0

8 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.3.1

9 years ago

2.3.0

9 years ago

2.2.0

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.1

9 years ago

2.0.0

10 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

11 years ago

1.0.0

11 years ago