Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: netlify/eslint-config-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1d79b93a2df8ac9c3dcf705d86828d0932aa5ea1
Choose a base ref
...
head repository: netlify/eslint-config-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 96477e05ceddbef6f1faab76d071c5f8a0338269
Choose a head ref
  • 9 commits
  • 3 files changed
  • 3 contributors

Commits on Nov 9, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2b55b28 View commit details
  2. Copy the full SHA
    a422834 View commit details
  3. Merge pull request #17 from netlify/renovate/lock-file-maintenance

    chore(deps): lock file maintenance
    ehmicky authored Nov 9, 2020
    Copy the full SHA
    fda9de9 View commit details
  4. Copy the full SHA
    9535a2e View commit details
  5. Copy the full SHA
    6a28185 View commit details
  6. Copy the full SHA
    693aeef View commit details
  7. Disable Node 12 rule

    ehmicky committed Nov 9, 2020
    Copy the full SHA
    b81fb0f View commit details
  8. Copy the full SHA
    f1fac92 View commit details
  9. 1.0.0

    ehmicky committed Nov 9, 2020
    Copy the full SHA
    96477e0 View commit details
Showing with 130 additions and 146 deletions.
  1. +4 −9 .eslintrc.js
  2. +123 −134 package-lock.json
  3. +3 −3 package.json
13 changes: 4 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -32,8 +32,6 @@ module.exports = {
complexity: [2, 5],
'consistent-this': 2,
'default-case': 2,
'default-case-last': 2,
'default-param-last': 2,
'func-name-matching': [2, { considerPropertyDescriptor: true }],
'func-names': [2, 'as-needed'],
'func-style': 2,
@@ -53,7 +51,6 @@ module.exports = {
'no-constructor-return': 2,
'no-duplicate-imports': 2,
'no-else-return': [2, { allowElseIf: false }],
'no-empty': [2, { allowEmptyCatch: true }],
'no-extra-label': 2,
'no-implicit-coercion': 2,
'no-implicit-globals': [2, { lexicalBindings: true }],
@@ -62,7 +59,6 @@ module.exports = {
'no-label-var': 2,
'no-lonely-if': 2,
'no-loop-func': 2,
'no-loss-of-precision': 2,
'no-magic-numbers': [
2,
{
@@ -121,10 +117,8 @@ module.exports = {
'no-return-await': 2,
'no-shadow': 2,
'no-underscore-dangle': [2, { enforceInMethodNames: true }],
'no-unreachable-loop': 2,
'no-undef': [2, { typeof: true }],
'no-unused-vars': [2, {}],
'no-useless-backreference': 2,
'no-useless-computed-key': [2, { enforceForClassMembers: true }],
'no-useless-concat': 2,
'no-var': 2,
@@ -135,7 +129,6 @@ module.exports = {
'prefer-exponentiation-operator': 2,
'prefer-numeric-literals': 2,
'prefer-object-spread': 2,
'prefer-regex-literals': [2, { disallowRedundantWrapping: true }],
'prefer-rest-params': 2,
'prefer-spread': 2,
'prefer-template': 2,
@@ -226,13 +219,13 @@ module.exports = {
],

'node/no-sync': 2,
'node/handle-callback-err': 2,
'node/no-new-require': 2,
'node/callback-return': 2,
'node/exports-style': 2,
'node/file-extension-in-import': 2,
'node/global-require': 2,
'node/no-mixed-requires': 2,
// Using path.join() is often not needed when using only core Node.js APIs
'node/no-path-concat': 0,
// Browser globals should not use `require()`. Non-browser globals should
'node/prefer-global/console': 2,
'node/prefer-global/buffer': [2, 'never'],
@@ -286,6 +279,8 @@ module.exports = {
// TODO: enable after dropping Node 8 support
'unicorn/prefer-optional-catch-binding': 0,
'unicorn/prefer-trim-start-end': 0,
// TODO: enable after dropping Node <12 support
'unicorn/numeric-separators-style': 0,
},
overrides: [
{
Loading