@vlsergey/react-bootstrap-button-with-spinner
Version:
Wrapper around React Bootstrap Button component with spinner and auto-disabled functionality (to prevent doubleclick)
23 lines (21 loc) • 480 B
JavaScript
/* eslint-env node */
module.exports = {
env: {
browser: true,
es6: true,
},
globals: {
// for test:
afterEach: true,
beforeEach: true,
describe: true,
it: true,
},
plugins: ['promise'],
rules: {
/* JSX props should not use arrow functions */
'react/jsx-no-bind': 0,
/* Requires expressions of type void to appear in statement position */
'@typescript-eslint/no-confusing-void-expression': 0,
},
};