Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from zeroturnaround/new-base-rules
Browse files Browse the repository at this point in the history
New base rules
  • Loading branch information
ukupat authored Jun 13, 2017
2 parents 0a3ef2b + e35681c commit d78c25f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions base.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ const bestPracticeRules = {

"dot-notation": [2, {allowKeywords: true}],

"eqeqeq": 2,

"guard-for-in": 2,

"no-alert": 2,
Expand All @@ -75,6 +77,8 @@ const bestPracticeRules = {

"no-empty-pattern": 2,

"no-eval": 2,

"no-extend-native": 2,

"no-extra-label": 2,
Expand All @@ -87,6 +91,8 @@ const bestPracticeRules = {

"no-global-assign": 2,

"no-implicit-coercion": [2, {"allow": ["!!"]}],

"no-implicit-globals": 2,

"no-implied-eval": 2,
Expand All @@ -97,6 +103,8 @@ const bestPracticeRules = {

"no-lone-blocks": 2,

"no-loop-func": 2,

"no-multi-spaces": 2,

"no-multi-str": 2,
Expand Down Expand Up @@ -157,6 +165,8 @@ const variablesRules = {

"no-undef": 2,

"no-undef-init": 2,

"no-unused-vars": 2,

"no-use-before-define": [2, "nofunc"],
Expand Down Expand Up @@ -203,6 +213,8 @@ const styleRules = {

"operator-linebreak": [2, "after"],

"semi": 2,

"semi-spacing": [2, { before: false, after: true }],

"space-before-blocks": 2,
Expand Down

0 comments on commit d78c25f

Please sign in to comment.