Update eslintignore and prettier config to ignore UMD builds of React

This commit is contained in:
Andrew Clark 2017-08-25 11:31:25 -07:00
parent e421df8151
commit 2d5c4542df
4 changed files with 6 additions and 6 deletions

View File

@ -13,8 +13,8 @@ fixtures/
# Ignore built files. # Ignore built files.
build/ build/
coverage/ coverage/
scripts/attribute-behavior/public/react-dom.production.min.js fixtures/attribute-behavior/public/react-dom.production.min.js
scripts/attribute-behavior/public/react.production.min.js fixtures/attribute-behavior/public/react.production.min.js
scripts/bench/benchmarks/**/*.js scripts/bench/benchmarks/**/*.js
scripts/bench/remote-repo/ scripts/bench/remote-repo/
vendor/* vendor/*

View File

@ -1417,7 +1417,7 @@ function ResultPopover(props) {
hasSameBehavior: props.hasSameBehavior, hasSameBehavior: props.hasSameBehavior,
}, },
null, null,
2, 2
)} )}
</pre> </pre>
); );

View File

@ -19,6 +19,6 @@ import './index.css';
ReactDOM.render( ReactDOM.render(
React.createElement(App.default), React.createElement(App.default),
document.getElementById('root'), document.getElementById('root')
); );
})(); })();

View File

@ -41,8 +41,8 @@ const config = {
patterns: ['scripts/**/*.js', 'fixtures/**/*.js'], patterns: ['scripts/**/*.js', 'fixtures/**/*.js'],
ignore: [ ignore: [
'scripts/bench/benchmarks/**', 'scripts/bench/benchmarks/**',
'scripts/attribute-behavior/public/react.production.min.js', 'fixtures/attribute-behavior/public/react.production.min.js',
'scripts/attribute-behavior/public/react-dom.production.min.js', 'fixtures/attribute-behavior/public/react-dom.production.min.js',
], ],
options: { options: {
'trailing-comma': 'es5', 'trailing-comma': 'es5',