1.0.0 • Published 9 years ago

@jokeyrhyme/eslint-config-es5 v1.0.0

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
9 years ago

@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"