Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-thedark1337

thedark133712GPL-3.08.0.1

ESLint Shareable Config for Thedark1337

code, code style, eslint, eslintconfig, quality, style, thedark1337

readme

eslint-config-thedark1337 npm version npm downloads Build Status

ESLint shareable config for Thedark1337

Install

NOTE: As of Version 1.0, this config will be inline with ESLint's rules at the latest version.

npm i -D eslint-config-thedark1337

Usage

Add ESLint config to one of the following:

package.json:

{
    "name": "my-nodejs-package",
    "eslintConfig": {
        "extends": "thedark1337"
    }
}

.eslintrc.js:

module.exports = {
    "extends": "thedark1337"
}

.eslintrc.json:

{
    "extends": "thedark1337"
}

.eslintrc.yaml:

    extends:
        "thedark1337"

There are also configs for coding in browser.

To use them change extends to one of these:

  • thedark1337/browser

Thank you to Sindresorhus for their XO Config.

Thank you to Mysticatea for their Config.

License

GPL License

Copyright © 2022 Thedark1337

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

changelog

2-25-2016 Version 2.0.1

  • [750d28b27d] - Update: fix tests to match linting styles (Thedark1337)
  • [643baf101e] - Test: add linting for test files (Thedark1337)
  • [c549f89032] - Update: Disable linebreak-style (Thedark1337)
  • [42bcafc4dd] - Merge pull request #4 from thedark1337/greenkeeper-mocha-eslint-2.0.1 (Alex Pham)
  • [5079c0b763] - chore(package): update mocha-eslint to version 2.0.1 (greenkeeperio-bot)
  • [1a40257dcc] - Merge pull request #3 from thedark1337/greenkeeper-lodash.merge-4.3.1 (Alex Pham)
  • [f9ed306d1b] - chore(package): update lodash.merge to version 4.3.1 (greenkeeperio-bot)
  • [f11a685aaa] - Fix: codestyle to match ESLint rules (Thedark1337)
  • [5147ee52e3] - Merge pull request #2 from thedark1337/greenkeeper-eslint-2.2.0 (Alex Pham)
  • [4235b2d959] - Update: add .eslintrc.js and linting (Thedark1337)
  • [7718e939e1] - chore(package): update eslint to version 2.2.0 (greenkeeperio-bot)
  • [98913f9195] - Merge branch 'greenkeeper-unexpected-10.8.2' (Thedark1337)
  • [b7fcc879d9] - chore(package): update unexpected to version 10.8.2 (greenkeeperio-bot)
  • [51a038d46d] - Update: add .bithoundrc (Thedark1337)
  • [94de9ffd8a] - Update: newline-per-chained-call to warning due to false positives (Thedark1337)
  • [8b904d9646] - doc: added BitHound badges for dependencies / score (Thedark1337)
  • [cfcdb66d8a] - test: remove io.js Versions 1,2,3 (Thedark1337)
  • [6a7e471ce5] - doc: updated changelog for v2.0.0 (Thedark1337)

2-12-2016 Version 2.0.0

  • [e6d4a71b4b] - Update dependencies and release V2.0.0 (Thedark1337)
  • [ce9717aab8] - doc: add that babel-eslint@next is needed for ESNext (Thedark1337)
  • [28c8cee6cb] - test: drop support for 0.12 and add 5.0 (Thedark1337)
  • [55057a661f] - test: move mocha cli flags to mocha.opts (Thedark1337)
  • [0b055cf4bc] - update: Tests for ESLint config for V2 (Thedark1337)
  • [73c55bba12] - update: main config to ESLint V2 (Thedark1337)
  • [e9d46faa7d] - update: ESNext rules to ESLint v2 (Thedark1337)

12-7-2015 Version 1.0.1

  • [91d483a513] - Update: Tweak a few rules (thedark1337)
  • [64938a04f9] - Doc: Update readme to link to plugins for ESNext and update usage. (thedark1337)
  • [6b1885fd14] - Update: Added changelog (thedark1337)

11-25-2015 Version 1.0.0

  • [71d1fb914b] - Update: Fixed trailing comma (thedark1337)
  • [536b0fae52] - Test: Added Object.assign polyfill to work with old nodejs (thedark1337)
  • [55a6fb8416] - Update: Added Object.assign polyfill and bumped ESLInt peerDep (thedark1337)
  • [0ae9ba405f] - Doc: Removed mention of plugdj config and added thank you. (thedark1337)
  • [423310e713] - Test: Added ability to test current rules with ESLint (thedark1337)
  • [8387858ddb] - Update: Config now has all ESLint rules added. (thedark1337)
  • [edec2cdda7] - Update: Utilize Lodash.merge instead of deep-assign. (thedark1337)
  • [2fb4be4a97] - Update: Dependencies and reorganized package.json (thedark1337)
  • [8e41e6a67c] - Remove: plug.dj config (thedark1337)
  • [7fc7584351] - test: Add --harmony for node 0.12.x (thedark1337)

10-14-2015 Version 0.5.0

  • [97a01b0054] - V0.5.0 Updated Readme to reflect changes. Dropped needing XO. Added thanks. Added that plug.dj has shutdown. (thedark1337)