mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Update eslintignore and prettier config to ignore UMD builds of React
This commit is contained in:
parent
e421df8151
commit
2d5c4542df
|
|
@ -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/*
|
||||||
|
|
|
||||||
|
|
@ -1417,7 +1417,7 @@ function ResultPopover(props) {
|
||||||
hasSameBehavior: props.hasSameBehavior,
|
hasSameBehavior: props.hasSameBehavior,
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
2,
|
2
|
||||||
)}
|
)}
|
||||||
</pre>
|
</pre>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
);
|
);
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user