Skip to content

Commit 3ed1b3e

Browse files
committed
refactor: reorganize meta config
1 parent b73892d commit 3ed1b3e

13 files changed

Lines changed: 92 additions & 96 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require('@adonisjs/require-ts/build/register')
22

33
const { configure } = require('japa')
4+
45
configure({
56
files: ['test/**/*.spec.ts'],
67
})

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Contributing
2+
3+
We love pull requests. And following this guidelines will make your pull request easier to merge
4+
5+
## Prerequisites
6+
7+
- Install [EditorConfig](http://editorconfig.org/) plugin for your code editor to make sure it uses correct settings.
8+
- Fork the repository and clone your fork.
9+
- Install dependencies: `npm install`.
10+
11+
## Coding style
12+
13+
We make use of [standard](https://standardjs.com/) to lint our code. Standard does not need a config file and comes with set of non-configurable rules.
14+
15+
## Development work-flow
16+
17+
Always make sure to lint and test your code before pushing it to the GitHub.
18+
19+
```bash
20+
npm test
21+
```
22+
23+
Just lint the code
24+
25+
```bash
26+
npm run lint
27+
```
28+
29+
**Make sure you add sufficient tests for the change**.
30+
31+
## Other notes
32+
33+
- Do not change version number inside the `package.json` file.
34+
- Do not update `CHANGELOG.md` file.
35+
36+
## Need help?
37+
38+
Feel free to ask.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _Put an `x` in the boxes that apply_
1818

1919
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._
2020

21-
- [ ] I have read the [CONTRIBUTING](https://github.com/edge-js/error/blob/master/CONTRIBUTING.md) doc
21+
- [ ] I have read the [CONTRIBUTING](https://github.com/edge-js/error/blob/master/.github/CONTRIBUTING.md) doc
2222
- [ ] Lint and unit tests pass locally with my changes
2323
- [ ] I have added tests that prove my fix is effective or that my feature works.
2424
- [ ] I have added necessary documentation (if appropriate)

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ on:
33
- push
44
- pull_request
55
jobs:
6-
build:
6+
linux:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
1010
node-version:
11-
- 14.17.0
12-
- 16.x
11+
- 14.15.4
12+
- 17.x
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Use Node.js ${{ matrix.node-version }}

.husky/commit-msg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
HUSKY_GIT_PARAMS=$1 node ./node_modules/@adonisjs/mrm-preset/validate-commit/conventional/validate.js

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)