eslint-config-adjunct
Advanced tools
Comparing version 4.2.1 to 4.2.2
@@ -37,2 +37,3 @@ const checkMissing = require('./lib/missing') | ||
] | ||
depRules.forEach((depRule) => { | ||
@@ -39,0 +40,0 @@ const rule = typeof depRule === 'string' ? [depRule, depRule] : depRule |
{ | ||
"name": "eslint-config-adjunct", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"author": "David J. Bradshaw", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -5,3 +5,3 @@ # eslint-config-adjunct | ||
This config is designed to be used alongside any of the major esLint configs, such as [airbnb](https://github.com/airbnb/javascript), [standard](https://github.com/standard/eslint-config-standard) or [eslint:recommended](https://eslint.org/docs/rules/). It provides a range of useful plugins that are often too time consuming to setup and provides an easy way to install just the plugins you need, based on your project's dependancies. | ||
This config is designed to be used alongside any of the major esLint configs, such as [airbnb](https://github.com/airbnb/javascript), [standard](https://github.com/standard/eslint-config-standard) or [eslint:recommended](https://eslint.org/docs/rules/). It provides a range of useful plugins that are often too time-consuming to setup and provides an easy way to install just the plugins you need, based on your project's dependencies. | ||
@@ -26,3 +26,3 @@ ## Install | ||
You can now include `html`, `json` and `markdown` in the list of files passed to esLint to have any contained JavaScript linted. | ||
You can now include `html`, `json` and `markdown` in the list of files passed to `eslint` to lint any JavaScript contained. | ||
@@ -40,3 +40,3 @@ ```json | ||
After you have configured eslint to include this package, the first time you run `eslint` it will output the `npm` command to install the dependancies required for your project. Cut'n'paste this command into the console, and you are then ready to start linting. | ||
After you have configured `eslint` to include this package, the first time you run `eslint` it will output the `npm` command to install the dependencies required for your project. Cut'n'paste this command into the console, and you are then ready to start linting. | ||
@@ -77,3 +77,3 @@ ## Plugins | ||
If prettier is installed, any rules that may conflict with Prettier will be disabled. The plugin should read you Prettier config from your projects route. | ||
If prettier is installed, any rules that may conflict with Prettier will be disabled. The plugin should read you Prettier config from your project's root. | ||
@@ -106,3 +106,3 @@ - [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | ||
Adds the `fallthrough: 'never'` option to the the `newline-between-switch-case` rule. | ||
Adds the `fallthrough: 'never'` option to the `newline-between-switch-case` rule. | ||
@@ -129,3 +129,3 @@ ```js | ||
The following rules are disabled due to them being considered unduely restrictive or unhelpful. | ||
The following rules are disabled due to them being considered unduly restrictive or unhelpful. | ||
@@ -137,2 +137,4 @@ - jest/no-disabled-tests | ||
- lodash-fp/use-fp | ||
- unicorn/no-reduce | ||
- unicorn/no-null | ||
@@ -139,0 +141,0 @@ The following rules are disabled due to clashing with other plugins |
@@ -6,3 +6,5 @@ module.exports = { | ||
'unicorn/regex-shorthand': 0, | ||
'unicorn/no-reduce': 0, | ||
'unicorn/no-null': 0, | ||
}, | ||
} |
Sorry, the diff of this file is not supported yet
24074
549
144