All Versions
86
Latest Version
Avg Release Cycle
44 days
Latest Release
737 days ago

Changelog History
Page 6

  • v6.0.6 Changes

    February 18, 2016
    • πŸ‘• Use eslint 2.1.0
    • πŸ›  Fix: Use install location of standard as eslint cwd (fixes snazzy/#8)
  • v6.0.5 Changes

    February 12, 2016
    • πŸ‘• Use eslint 2.0.0 stable
  • v6.0.4 Changes

    February 07, 2016
  • v6.0.3 Changes

    February 06, 2016
    • πŸ›  Fix "Error: Cannot find module 'eslint-config-standard-jsx'" with npm 2 (node 0.10, 0.12, 4)
  • v6.0.2 Changes

    February 06, 2016
    • πŸ‘• Internal change: Remove .eslintrc file, and use inline config
  • v6.0.1 Changes

    February 05, 2016
    • πŸ‘• Internal change: Move .eslintrc file to root folder
  • v6.0.0 Changes

    February 05, 2016

    πŸš€ The goal of this release is toΒ make standard faster to install, and simpler to use.

    βœ‚ Remove standard-format (#340) (#397)

    • πŸ“¦ Eliminates 250 packages, and cuts install time in half!
    • For npm 2, install time goes from 20 secs β€”> 10 secs.
    • For npm 3, install time goes from 24 secs β€”> 12 secs.
    • To continue using standard-format, just install it separately: npm install -g standard-format

    πŸ‘• React-specific linting rules are removed (#351) (#367) (eslint-config-standard-react/#13)

    • πŸ’… JSX is still supported, and it continues to be checked for style.
    • There were only a few React-specific rules, but they made it extremely difficult for users of alternatives like virtual-dom or deku, and unecessarily tied standard to a single library.
    • πŸ‘• JSX rules come from eslint-config-standard-jsx. The eslint-config-standard-react dependency was removed.

    πŸ†• New Rules

    πŸ“¦ The percentage (%) of users that rule changes will effect, based on real-world testing of the top ~400 npm packages is denoted in brackets.

    • Disallow __dirname/__filename string concatenation (#403) (no-path-concat) [5%]
    • πŸ‘• Require parens in arrow function arguments
 (#309) (arrow-parens) [5%]
    • Ensure that new Promise() is instantiated with the parameter names resolve, reject (#282) (promise/param-names) [1%]
    • πŸ‘• Enforce Usage of Spacing in Template Strings (template-curly-spacing) [1%]
    • πŸ‘• Template strings are only allowed when necessary, i.e. templateΒ string features are being used (eslint got stricter: eslint/eslint#5147) [1%]
    • πŸ‘ Better dead code detection after conditional statements (eslint got stricter) [1%]
    • Enforce spaces around * in yield * something (#335) (yield-star-spacing) [0%]
    • πŸ‘• Disallow labels on loops/switch statements too (made rule stricter) (no-labels) [0%]
    • πŸ‘• Disallow unnecessary constructor (no-useless-constructor) [0%]
    • πŸ‘• Disallow empty destructuring patterns (no-empty-pattern) [0%]
    • πŸ‘• Disallow Symbol Constructor (no-new-symbol) [0%]
    • πŸ‘• Disallow Self Assignment (no-self-assign) [0%]

    βœ‚ Removed Rules

    • πŸ‘• parseInt() radix rule because ES5 fixes this issue (#384)
 (radix) [0%]

    πŸ”¦ Expose eslint configuration via command line options and package.json

    For power users, it might be easier to use one of these new hooks instead of forking standard, though that's still encouraged, too!

    • πŸ‘• Set eslint "plugins" (#386)
    • πŸ‘• Set eslint "rules" (#367)
    • πŸ‘• Set eslint "env" (#371)

    πŸ‘• To set custom ESLint plugins, rules, or envs, use the command line --plugin, --rules, and --env flags.

    πŸ“¦ In package.json, use the "standard" property:

    {
      "standard": {
        "plugins": [ "my-plugin" ]
      }
    }
    

    ⬆️ Upgrade to ESLint v2

    • 🚚 There may be slight behavior changes to existing rules. When possible, we've noted these in the "New Rules" and "Removed Rules" section.

    πŸ‘Œ Improve test suite

    • πŸ“¦ Rule changes can be tested against every package on npm. For sanity, this is limited to packages with at least 4 dependents. Around 400 packages.

    Known Issues

    • πŸš€ Using prerelease eslint version (2.0.0-rc.0). There may be breaking changes before the stable release.
    • πŸ‘• no-return-assign behavior changed with arrow functions (eslint/eslint#5150)

    Relevant diffs

  • v5.4.1 Changes

    November 16, 2015

    view diff

    πŸ›  Fixed

    • πŸ›  Fix for standard-engine change. Fix error tagline.
  • v5.4.0 Changes

    November 16, 2015

    view diff

    βž• Added

  • v5.3.1 Changes

    September 18, 2015

    view diff

    πŸ”„ Changed