Skip to content

Commit

Permalink
Merge pull request #24 from enactjs/feature/PLAT-53066-stephen
Browse files Browse the repository at this point in the history
PLAT-53066: Update camelcase rule for `^UNSAFE_` react lifecycle methods
  • Loading branch information
JayCanuck committed Jan 21, 2019
2 parents efc3d7d + 4e5010c commit 2d8a0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ module.exports = {
'no-sync': 0,
'array-bracket-spacing': 0,
'brace-style': [0, '1tbs', {}],
'camelcase': [0, {'properties': 'always'}],
'camelcase': [0, {allow: ["^UNSAFE_"]}],
'comma-spacing': [0, {'after': true}],
'comma-style': 0,
'computed-property-spacing': [0, 'never'],
Expand Down
2 changes: 1 addition & 1 deletion strict.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = {
'no-undefined': 2,
'no-use-before-define': [2, {'functions': false}],
'brace-style': [1, '1tbs', {}],
'camelcase': [1, {'properties': 'always'}],
'camelcase': [1, {allow: ["^UNSAFE_"]}],
'comma-spacing': [1, {'after': true}],
'comma-style': 1,
'computed-property-spacing': [1, 'never'],
Expand Down

0 comments on commit 2d8a0da

Please sign in to comment.