Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Remove confusing lint rules #168

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion es5/mobify-es5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ rules:
space-infix-ops: error
space-unary-ops: error
no-undef: error
eol-last: warn
quotes:
- error
- single
Expand Down
4 changes: 0 additions & 4 deletions es6/mobify-es6-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ rules:
react/no-string-refs: error
react/prefer-es6-class: error
react/prefer-stateless-function: error
react/sort-prop-types:
- error
- callbacksLast: true
requiredFirst: true

# JSX formatting preferences
react/self-closing-comp: error
Expand Down
2 changes: 0 additions & 2 deletions es6/mobify-es6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ rules:
- error
- property
dot-notation: error
eol-last: error
generator-star-spacing: error
indent:
- error
Expand Down Expand Up @@ -168,7 +167,6 @@ rules:
no-spaced-func: error
no-trailing-spaces: error
no-whitespace-before-property: error
object-curly-spacing: error
operator-linebreak:
- error
- after
Expand Down
3 changes: 0 additions & 3 deletions javascript/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@
// Disallow undeclared variables (unless mentioned in /*global ...*/ comment)
"no-undef": 2,

// Warn if single newline at end of file is missing
"eol-last": 1,

// Enforce single quotes for string literals
"quotes": [2, "single"],

Expand Down
1 change: 0 additions & 1 deletion javascript/.eslintrc-reset
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
"comma-spacing": 0, // enforce spacing before and after comma ***
"comma-style": 0, // enforce one true comma style ***
"consistent-this": 0, // enforces consistent naming when capturing the current execution context ***
"eol-last": 0, // enforce newline at the end of file, with no multiple empty lines
"func-names": 0, // require function expressions to have a name
"func-style": 0, // enforces use of function declarations or expressions ***
"key-spacing": 0, // enforces spacing between keys and values in object literal properties ***
Expand Down