Skip to content

Latest commit

 

History

History
60 lines (54 loc) · 3.4 KB

File metadata and controls

60 lines (54 loc) · 3.4 KB

1.2.1

lib rule change reason
prettier trailingCommas es5 extensible object properties via duplicating lines that IMHO it's worth the visual noise of a comma (current prettier default)
prettier arrowParens always again with the means of extensibility it is much easier to add a comma and a new param (current prettier default)
eslint prefer-template error let string concatenation RIP
eslint dot-notation error much easier to parse cognitively, leaves [''] notation for dynamic access
eslint no-new-wrappers error read rule link
eslint no-new-object error read rule link
eslint consistent-return error improves predictability and consistency of code
eslint no-confusing-arrow error improves parsing ternary logic as function output
eslint prefer-spread error read rule link
eslint no-param-reassign error one step closer to pure functions and FP best practices
eslint prefer-arrow-callback error read rule link
eslint default-case error add a default case to those switches
eslint eqeqeq error please no type coercion [] == false // true
eslint no-lonely-if error read rule link
eslint radix error read rule link
eslint one-var ["error", "never"] cleaner and declarative
eslint object-shorthand ["error", "always"] 😍
eslint no-throw-literal error read rule link
    "padding-line-between-statements": [
      "error",
      { "blankLine": "always", "prev": "*", "next": "return" },
      { "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
      { "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"] },
      { "blankLine": "always", "prev": "directive", "next": "*" },
      { "blankLine": "any", "prev": "directive", "next": "directive" }
    ],

Fixes:

  • Validation of v-slot usage
'vue/valid-v-slot': ['error', {
  allowModifiers: true,
}],

1.1.1

  • add component definition name casing, kebab-case

1.1.0

  • added prettier & prettier rules
  • disabled vue/max-attributes-per-line as it is colliding with prettier
  • created pitcher.config.js to inherit globals from
  • re-ordered vue rules
  • applied new eslint rules

1.0.1

  • update README.md
  • add comments to the files

1.0.0

  • added Javascript rules
  • added Vue rules
  • added .eslintrc.json for the project
  • published to npm version 1.0.0