@jokeyrhyme/eslint-config-es5

1.0.0 • Public • Published

@jokeyrhyme/eslint-config-es5

an opinionated ESLint configuration

npm module travis-ci

What does it do?

  • extends "eslint:recommended"

  • extends eslint-config-semistandard

  • explicitly disables the "env" and "ecmaFeatures" settings from standard

  • enables all rules from Best Practices

    • "complexity" higher than 10 is a warning

    • not "no-eq-null", as "eqeqeq" covers it

    • not "no-implicit-coercion", as I like the shorter notation

    • "no-warning-comments" is a warning

  • enables other rules

    • "valid-jsdoc", but don't require @returns for every Function

    • "no-shadow"

    • "no-undefined"

    • "no-use-before-define"

Readme

Keywords

Package Sidebar

Install

npm i @jokeyrhyme/eslint-config-es5

Weekly Downloads

1

Version

1.0.0

License

BSD-2-Clause

Last publish

Collaborators

  • jokeyrhyme