@samitouri / QOS-React / commits / 2d5c4542df

Update eslintignore and prettier config to ignore UMD builds of React

Andrew Clark committed Aug 25, 2017 at 11:31 UTC 2d5c4542df5730fc4372d1141c604857563b7a09
4 files changed +6 -6
.eslintignore
+2 -2
@@ -13,8 +13,8 @@ fixtures/
13 # Ignore built files.
14 build/
15 coverage/
16 -scripts/attribute-behavior/public/react-dom.production.min.js
17 -scripts/attribute-behavior/public/react.production.min.js
16 +fixtures/attribute-behavior/public/react-dom.production.min.js
17 +fixtures/attribute-behavior/public/react.production.min.js
18 scripts/bench/benchmarks/**/*.js
19 scripts/bench/remote-repo/
20 vendor/*
fixtures/attribute-behavior/src/App.js
+1 -1
@@ -1417,7 +1417,7 @@ function ResultPopover(props) {
1417 hasSameBehavior: props.hasSameBehavior,
1418 },
1419 null,
1420 - 2,
1420 + 2
1421 )}
1422 </pre>
1423 );
fixtures/attribute-behavior/src/index.js
+1 -1
@@ -19,6 +19,6 @@ import './index.css';
19
20 ReactDOM.render(
21 React.createElement(App.default),
22 - document.getElementById('root'),
22 + document.getElementById('root')
23 );
24 })();
scripts/prettier/index.js
+2 -2
@@ -41,8 +41,8 @@ const config = {
41 patterns: ['scripts/**/*.js', 'fixtures/**/*.js'],
42 ignore: [
43 'scripts/bench/benchmarks/**',
44 - 'scripts/attribute-behavior/public/react.production.min.js',
45 - 'scripts/attribute-behavior/public/react-dom.production.min.js',
44 + 'fixtures/attribute-behavior/public/react.production.min.js',
45 + 'fixtures/attribute-behavior/public/react-dom.production.min.js',
46 ],
47 options: {
48 'trailing-comma': 'es5',