Skip to content

Commit 04d9a02

Browse files
committed
chore: Updates to lates defaults version
- Migrates to CircleCI 2.0 from Travis - Removes Appveyor by default ( can be opted into ) - Uses a non-deprecated form of eslit config - Adds base codecov config - Adds commitlint config / hook - Updates PR templates & adds Codeowners - Prettier tooling & complementary eslit config added
1 parent e200b08 commit 04d9a02

11 files changed

+98
-8531
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ end_of_line = lf
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11-
[.md]
11+
[*.md]
1212
insert_final_newline = false
1313
trim_trailing_whitespace = false

.eslintrc

-7
This file was deleted.

.eslintrc.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
root: true,
3+
plugins: ['prettier'],
4+
extends: ['@webpack-contrib/eslint-config-webpack'],
5+
rules: {
6+
'prettier/prettier': [
7+
'error',
8+
{ singleQuote: true, trailingComma: 'es5', arrowParens: 'always' },
9+
],
10+
},
11+
};

.github/CODEOWNERS

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# These are the default owners for everything in
2+
# webpack-contrib
3+
@webpack-contrib/org-maintainers
4+
5+
# Add repository specific users / groups
6+
# below here for libs that are not maintained by the org.

.github/PULL_REQUEST_TEMPLATE.md

+33-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
<!--
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.
2+
HOLY CRAP a Pull Request. We ❤️ those!
3+
4+
If you remove or skip this template, you'll make the 🐼 sad and the mighty god
5+
of Github will appear and pile-drive the close button from a great height
6+
while making animal noises.
7+
8+
Please place an x (no spaces!) in all [ ] that apply
59
-->
10+
11+
This PR contains a:
12+
13+
- [ ] **bugfix**
14+
- [ ] new **feature**
15+
- [ ] **code refactor**
16+
- [ ] **test update** <!-- if bug or feature is checked, this should be too -->
17+
- [ ] **typo fix**
18+
- [ ] **metadata update**
19+
20+
### Motivation / Use-Case
21+
22+
<!--
23+
Please explain the motivation or use-case for your change.
24+
What existing problem does the PR solve?
25+
If this PR addresses an issue, please link to the issue.
26+
-->
27+
28+
### Breaking Changes
29+
30+
<!--
31+
If this PR introduces a breaking change, please describe the impact and a
32+
migration path for existing applications.
33+
-->
34+
35+
### Additional Info

.prettierrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "es5",
4+
"arrowParens": "always"
5+
}

.travis.yml

-44
This file was deleted.

appveyor.yml

-29
This file was deleted.

codecov.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
codecov:
2+
branch: master
3+
coverage:
4+
precision: 2
5+
round: down
6+
range: 70...100
7+
status:
8+
project: 'no'
9+
patch: 'yes'
10+
comment: 'off'

commitlint.config.js

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* eslint-disable */
2+
const Configuration = {
3+
extends: ['@commitlint/config-angular'],
4+
5+
rules: {
6+
'body-leading-blank': [1, 'always'],
7+
'footer-leading-blank': [1, 'always'],
8+
'header-max-length': [2, 'always', 72],
9+
'scope-case': [2, 'always', 'lower-case'],
10+
'subject-case': [2, 'never', ['start-case', 'pascal-case', 'upper-case']],
11+
'subject-empty': [2, 'never'],
12+
'subject-full-stop': [2, 'never', '.'],
13+
'type-case': [2, 'always', 'lower-case'],
14+
'type-empty': [2, 'never'],
15+
'type-enum': [2, 'always', [
16+
'build',
17+
'chore',
18+
'ci',
19+
'docs',
20+
'feat',
21+
'fix',
22+
'perf',
23+
'refactor',
24+
'revert',
25+
'style',
26+
'test',
27+
]
28+
],
29+
},
30+
};
31+
32+
module.exports = Configuration;

0 commit comments

Comments
 (0)