eslint-config-thedark1337
Advanced tools
Comparing version 7.0.0 to 8.0.1
@@ -8,3 +8,3 @@ 'use strict'; | ||
parserOptions: { | ||
ecmaVersion: 5, | ||
ecmaVersion: 6, | ||
ecmaFeatures: { | ||
@@ -11,0 +11,0 @@ modules: false |
10
index.js
@@ -48,2 +48,3 @@ 'use strict'; | ||
'no-obj-calls': 2, | ||
'no-promise-executor-return': 2, | ||
'no-prototype-builtins': 0, | ||
@@ -55,4 +56,7 @@ 'no-regex-spaces': 2, | ||
'no-unreachable': 2, | ||
'no-unreachable-loop': 2, | ||
'no-unsafe-finally': 2, | ||
'no-unsafe-negation': 2, | ||
'no-unsafe-optional-chaining': 2, | ||
'no-unused-private-class-members': 1, | ||
'no-useless-backreference': 2, | ||
@@ -83,2 +87,3 @@ 'require-atomic-updates': 2, | ||
'no-case-declarations': 0, | ||
'no-constant-binary-expression': 2, | ||
'no-constructor-return': 1, | ||
@@ -114,2 +119,3 @@ 'no-div-regex': 2, | ||
'no-new': 2, | ||
'no-nonoctal-decimal-escape': 2, | ||
'no-octal-escape': 2, | ||
@@ -216,2 +222,3 @@ 'no-octal': 2, | ||
'id-blacklist': 0, | ||
'id-denylist': 0, | ||
'id-length': 0, | ||
@@ -291,3 +298,4 @@ 'id-match': 0, | ||
'padding-line-between-statements': 0, | ||
'prefer-object-spread': 0, | ||
'prefer-object-has-own': 1, | ||
'prefer-object-spread': 2, | ||
'prefer-exponentiation-operator': 1, | ||
@@ -294,0 +302,0 @@ 'quote-props': [2, 'as-needed'], |
{ | ||
"name": "eslint-config-thedark1337", | ||
"description": "ESLint Shareable Config for Thedark1337", | ||
"version": "7.0.0", | ||
"version": "8.0.1", | ||
"author": "Thedark1337 <thedark1337@thedark1337.com> (https://thedark1337.com/)", | ||
@@ -11,13 +11,13 @@ "bugs": "https://github.com/thedark1337/eslint-config-thedark1337/issues", | ||
"devDependencies": { | ||
"eslint": "^7.2.0", | ||
"mocha": "^7.2.0", | ||
"mocha-eslint": "^6.0.0", | ||
"unexpected": "^11.14.0" | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.21.0", | ||
"mocha": "^10.0.0", | ||
"mocha-junit-reporter": "^2.0.2", | ||
"unexpected": "^13.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=10.0" | ||
"node": ">=14" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"esnext.js", | ||
"browser.js" | ||
@@ -37,8 +37,8 @@ ], | ||
"peerDependencies": { | ||
"eslint": "^7.x" | ||
"eslint": "^8.x" | ||
}, | ||
"repository": "thedark1337/eslint-config-thedark1337", | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "cross-env MOCHA_FILE=./jenkins-test-results.xml mocha --reporter mocha-junit-reporter" | ||
} | ||
} |
@@ -1,6 +0,5 @@ | ||
# eslint-config-thedark1337 [![Build Status](https://img.shields.io/travis/thedark1337/eslint-config-thedark1337.svg)](https://travis-ci.org/thedark1337/eslint-config-thedark1337) [![npm version](http://img.shields.io/npm/v/eslint-config-thedark1337.svg)](https://npmjs.org/package/eslint-config-thedark1337) [![npm downloads](https://img.shields.io/npm/dm/eslint-config-thedark1337.svg)](https://npmjs.org/package/eslint-config-thedark1337) [![bitHound Overall Score](https://www.bithound.io/github/thedark1337/eslint-config-thedark1337/badges/score.svg)](https://www.bithound.io/github/thedark1337/eslint-config-thedark1337) [![bitHound Dependencies](https://www.bithound.io/github/thedark1337/eslint-config-thedark1337/badges/dependencies.svg)](https://www.bithound.io/github/thedark1337/eslint-config-thedark1337/master/dependencies/npm) [![bitHound Dev Dependencies](https://www.bithound.io/github/thedark1337/eslint-config-thedark1337/badges/devDependencies.svg)](https://www.bithound.io/github/thedark1337/eslint-config-thedark1337/master/dependencies/npm) | ||
# eslint-config-thedark1337 [![npm version](http://img.shields.io/npm/v/eslint-config-thedark1337.svg)](https://npmjs.org/package/eslint-config-thedark1337) [![npm downloads](https://img.shields.io/npm/dm/eslint-config-thedark1337.svg)](https://npmjs.org/package/eslint-config-thedark1337) [![Build Status](https://ci.tfle.xyz/job/ESLint%20Config%20TheDark1337/3/badge/icon)](https://ci.tfle.xyz/job/ESLint%20Config%20TheDark1337/3/) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/thedark1337/eslint-config-thedark1337.svg)](https://greenkeeper.io/) | ||
> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for [Thedark1337](https://github.com/thedark1337) | ||
> ESLint [shareable config](https://eslint.org/docs/latest/developer-guide/shareable-configs.html) for [Thedark1337](https://github.com/thedark1337) | ||
@@ -15,6 +14,2 @@ ## Install | ||
**NOTE:** If using esnext, [Babel-eslint](npmjs.com/package/babel-eslint) and [eslint-plugin-babel](https://www.npmjs.com/package/eslint-plugin-babel) must be used. If using ESLint@2 please use babel-eslint@next (beta) | ||
```javascript | ||
npm i -D babel-eslint eslint-plugin-babel | ||
``` | ||
@@ -57,3 +52,3 @@ ## Usage | ||
There are also configs for coding in browser, and in ES2015+. | ||
There are also configs for coding in browser. | ||
@@ -63,3 +58,2 @@ To use them change extends to one of these: | ||
* thedark1337/browser | ||
* thedark1337/esnext | ||
@@ -75,3 +69,3 @@ | ||
Copyright © 2015 Thedark1337 | ||
Copyright © 2022 Thedark1337 | ||
@@ -78,0 +72,0 @@ 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. |
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
381
50439
5
5
4
73