react-styled-date-time-picker
Version:
```javascript import React, { Component } from 'react'; import DateTimePicker from 'react-styled-date-time-picker'; import { DateTime } from 'luxon';
54 lines (53 loc) • 1.21 kB
JavaScript
module.exports = {
parser: 'babel-eslint',
plugins: [
'flowtype',
'react',
'jsx-a11y',
],
extends: [
'airbnb',
'plugin:flowtype/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
],
settings: {
flowtype: {
onlyFilesWithFlowAnnotation: false,
},
react: {
version: 'detect',
},
},
env: {
node: true,
jest: true,
jasmine: true,
browser: true,
es6: true,
},
rules: {
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
'no-trailing-spaces': 'off',
'max-len': 'off',
'react/prefer-stateless-function': 'off',
'react/destructuring-assignment': 'off',
'jsx-a11y/anchor-is-valid': 'off',
camelcase: 'off',
'react/static-property-placement': 'off',
'react/jsx-props-no-spreading': 'off',
'react/state-in-constructor': 'off',
'react/require-default-props': 0,
'react/default-props-match-prop-types': 0,
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: [
'**/*.stories.js',
],
},
],
'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off',
},
};