diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-13 08:16:12 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-13 08:16:52 +0100 |
commit | b2128609ac8159a14224deba399144b3400c8c20 (patch) | |
tree | 4759dfda67c54f6838c3aef0951545ae18bb83bd /thirdparty/preact/config/eslint-config.js | |
parent | 3f0ee289c4a61991d0e75906a9bd949cebb39d20 (diff) | |
download | wallet-core-b2128609ac8159a14224deba399144b3400c8c20.tar.xz |
Finally give in and use React, minor tweeks.
Preact (a minimalistic React alternative) had too many bugs ...
Diffstat (limited to 'thirdparty/preact/config/eslint-config.js')
-rw-r--r-- | thirdparty/preact/config/eslint-config.js | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/thirdparty/preact/config/eslint-config.js b/thirdparty/preact/config/eslint-config.js deleted file mode 100644 index 95ac48965..000000000 --- a/thirdparty/preact/config/eslint-config.js +++ /dev/null @@ -1,66 +0,0 @@ -module.exports = { - parser: 'babel-eslint', - extends: 'eslint:recommended', - plugins: [ - 'react' - ], - env: { - browser: true, - mocha: true, - node: true, - es6: true - }, - parserOptions: { - ecmaFeatures: { - modules: true, - jsx: true - } - }, - globals: { - sinon: true, - expect: true - }, - rules: { - 'react/jsx-uses-react': 2, - 'react/jsx-uses-vars': 2, - 'no-unused-vars': [1, { varsIgnorePattern: '^h$' }], - 'no-cond-assign': 1, - 'no-empty': 0, - 'no-console': 1, - semi: 2, - camelcase: 0, - 'comma-style': 2, - 'comma-dangle': [2, 'never'], - indent: [2, 'tab', {SwitchCase: 1}], - 'no-mixed-spaces-and-tabs': [2, 'smart-tabs'], - 'no-trailing-spaces': [2, { skipBlankLines: true }], - 'max-nested-callbacks': [2, 3], - 'no-eval': 2, - 'no-implied-eval': 2, - 'no-new-func': 2, - 'guard-for-in': 0, - eqeqeq: 0, - 'no-else-return': 2, - 'no-redeclare': 2, - 'no-dupe-keys': 2, - radix: 2, - strict: [2, 'never'], - 'no-shadow': 0, - 'callback-return': [1, ['callback', 'cb', 'next', 'done']], - 'no-delete-var': 2, - 'no-undef-init': 2, - 'no-shadow-restricted-names': 2, - 'handle-callback-err': 0, - 'no-lonely-if': 2, - 'keyword-spacing': 2, - 'constructor-super': 2, - 'no-this-before-super': 2, - 'no-dupe-class-members': 2, - 'no-const-assign': 2, - 'prefer-spread': 2, - 'no-useless-concat': 2, - 'no-var': 2, - 'object-shorthand': 2, - 'prefer-arrow-callback': 2 - } -}; |