Skip to content

Commit

Permalink
Update eslintignore and prettier config to ignore UMD builds of React
Browse files Browse the repository at this point in the history
  • Loading branch information
acdlite committed Aug 25, 2017
1 parent e421df8 commit 2d5c454
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fixtures/
# Ignore built files.
build/
coverage/
scripts/attribute-behavior/public/react-dom.production.min.js
scripts/attribute-behavior/public/react.production.min.js
fixtures/attribute-behavior/public/react-dom.production.min.js
fixtures/attribute-behavior/public/react.production.min.js
scripts/bench/benchmarks/**/*.js
scripts/bench/remote-repo/
vendor/*
Expand Down
2 changes: 1 addition & 1 deletion fixtures/attribute-behavior/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ function ResultPopover(props) {
hasSameBehavior: props.hasSameBehavior,
},
null,
2,
2
)}
</pre>
);
Expand Down
2 changes: 1 addition & 1 deletion fixtures/attribute-behavior/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ import './index.css';

ReactDOM.render(
React.createElement(App.default),
document.getElementById('root'),
document.getElementById('root')
);
})();
4 changes: 2 additions & 2 deletions scripts/prettier/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const config = {
patterns: ['scripts/**/*.js', 'fixtures/**/*.js'],
ignore: [
'scripts/bench/benchmarks/**',
'scripts/attribute-behavior/public/react.production.min.js',
'scripts/attribute-behavior/public/react-dom.production.min.js',
'fixtures/attribute-behavior/public/react.production.min.js',
'fixtures/attribute-behavior/public/react-dom.production.min.js',
],
options: {
'trailing-comma': 'es5',
Expand Down

0 comments on commit 2d5c454

Please sign in to comment.