diff --git a/index.js b/index.js index 97689e3..a295399 100644 --- a/index.js +++ b/index.js @@ -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'], diff --git a/strict.js b/strict.js index b60fc51..eff7553 100644 --- a/strict.js +++ b/strict.js @@ -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'],