Skip to content

Commit

Permalink
doc and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 3, 2019
1 parent ad0f30a commit 676c404
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eslint/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ module.exports = {
args: 'none'
}
],

// error when let is used but the variable is never reassigned, see https://github.com/phetsims/tasks/issues/973
'prefer-const': [
2,
Expand Down Expand Up @@ -125,19 +126,20 @@ module.exports = {
// disallow use of undefined when initializing variables
'no-undef-init': 2,

//
// phet-specific require statement rules
'require-statement-match': 2,
'phet-io-require-contains-ifphetio': 2,
'string-require-statement-match': 2,

// Require @public/@private for this.something = result;
'property-visibility-annotation': 0,
'no-property-in-require-statement': 2,

// permit only one var declaration per line, see #390
'one-var': [
2,
'never'
],
'string-require-statement-match': 2,

// require radix argument for parseInt
radix: 2,
Expand Down

0 comments on commit 676c404

Please sign in to comment.