mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
turn off lint of require-default-props
This commit is contained in:
parent
d8a6807f1b
commit
8769f10d17
@ -11,11 +11,12 @@
|
|||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"comma-dangle": ["error", "never"],
|
"comma-dangle": ["error", "never"],
|
||||||
"react/jsx-curly-spacing": 0,
|
|
||||||
"react/forbid-prop-types": 0,
|
"react/forbid-prop-types": 0,
|
||||||
|
"react/jsx-curly-spacing": 0,
|
||||||
"react/jsx-filename-extension": 0,
|
"react/jsx-filename-extension": 0,
|
||||||
"react/jsx-space-before-closing": 0,
|
"react/jsx-space-before-closing": 0,
|
||||||
"react/jsx-tag-spacing": ["error", { "beforeSelfClosing": "always" }],
|
"react/jsx-tag-spacing": ["error", { "beforeSelfClosing": "always" }],
|
||||||
|
"react/require-default-props": 0,
|
||||||
"import/extensions": 0, // skip import extensions
|
"import/extensions": 0, // skip import extensions
|
||||||
"import/no-unresolved": [0, { "ignore": ["^react-bootstrap-table"] }], // monorepo setup
|
"import/no-unresolved": [0, { "ignore": ["^react-bootstrap-table"] }], // monorepo setup
|
||||||
"import/prefer-default-export": 0,
|
"import/prefer-default-export": 0,
|
||||||
|
|||||||
1
packages/react-bootstrap-table2/src/body.js
vendored
1
packages/react-bootstrap-table2/src/body.js
vendored
@ -1,5 +1,4 @@
|
|||||||
/* eslint react/prop-types: 0 */
|
/* eslint react/prop-types: 0 */
|
||||||
/* eslint react/require-default-props: 0 */
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
/* eslint react/require-default-props: 0 */
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import cs from 'classnames';
|
import cs from 'classnames';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
/* eslint react/require-default-props: 0 */
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Const from './const';
|
import Const from './const';
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
/* eslint
|
/* eslint jsx-a11y/no-noninteractive-element-interactions: 0 */
|
||||||
react/require-default-props: 0
|
|
||||||
jsx-a11y/no-noninteractive-element-interactions: 0
|
|
||||||
*/
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Const from '../const';
|
import Const from '../const';
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
/* eslint react/require-default-props: 0 */
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Constant from '../const';
|
import Constant from '../const';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user