Skip to content

Commit ffff5b5

Browse files
refactor: apply webpack-defaults
1 parent b90f492 commit ffff5b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1206
-5454
lines changed

.babelrc

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"useBuiltIns": true,
7+
"targets": {
8+
"node": "4.3"
9+
},
10+
"exclude": [
11+
"transform-async-to-generator",
12+
"transform-regenerator"
13+
]
14+
}
15+
]
16+
],
17+
"plugins": [
18+
[
19+
"transform-object-rest-spread",
20+
{
21+
"useBuiltIns": true
22+
}
23+
]
24+
],
25+
"env": {
26+
"test": {
27+
"presets": [
28+
"env"
29+
],
30+
"plugins": [
31+
"transform-object-rest-spread"
32+
]
33+
}
34+
}
35+
}

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[.md]
12+
insert_final_newline = false
13+
trim_trailing_whitespace = false

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
/dist

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "webpack"
3+
}

.eslintrc.yml

-247
This file was deleted.

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
yarn.lock -diff
22
* text=auto
33
bin/* eol=lf
4+
5+
package-lock.json -diff

.github/ISSUE_TEMPLATE.md

+6-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
<!-- Before creating an issue please make sure you are using the latest version of css-loader. -->
1+
<!--
2+
1. Check the version of package you are using. If it's not the newest version, update and try again (see changelog while updating!).
3+
2. If the issue is still there, write a minimal project showing the problem and expected output.
4+
3. Link to the project and mention Node version and OS in your report.
25
3-
**Do you want to request a *feature* or report a *bug*?**
4-
<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). Questions will be closed. -->
5-
6-
**What is the current behavior?**
7-
8-
**If the current behavior is a bug, please provide the steps to reproduce.**
9-
<!-- A great way to do this is to provide your configuration via a GitHub gist. -->
10-
11-
**What is the expected behavior?**
12-
13-
**If this is a feature request, what is motivation or use case for changing the behavior?**
14-
15-
**Please mention other relevant information such as your webpack version, Node.js version and Operating System.**
6+
**IMPORTANT! You should use [Stack Overflow](https://stackoverflow.com/) for support related questions.**
7+
-->

.github/PULL_REQUEST_TEMPLATE.md

+5-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->
2-
3-
**What kind of change does this PR introduce?**
4-
<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->
5-
6-
**Did you add tests for your changes?**
7-
8-
**If relevant, did you update the README?**
9-
10-
**Summary**
11-
12-
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->
13-
<!-- Try to link to an open issue for more information. -->
14-
15-
**Does this PR introduce a breaking change?**
16-
<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->
17-
18-
**Other information**
1+
<!--
2+
1. [Read and sign the CLA](https://cla.js.foundation/webpack/webpack.js.org). This needs to be done only once. PRs that haven't signed it won't be accepted.
3+
2. Check out the [development guide](https://webpack.js.org/development/) for the API and development guidelines.
4+
3. Read through the PR diff carefully as sometimes this can reveal issues. The work will be reviewed, but this can save some effort.
5+
-->

.gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
node_modules
22
coverage
33
npm-debug.log
4+
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
.eslintcache
10+
/coverage
11+
/dist
12+
/local
13+
/reports
14+
/node_modules
15+
.DS_Store
16+
Thumbs.db
17+
.idea
18+
.vscode
19+
*.sublime-project
20+
*.sublime-workspace

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)