Skip to content

Commit

Permalink
Replace task runner (#4)
Browse files Browse the repository at this point in the history
replace task runner
  • Loading branch information
sagiegurari committed Oct 17, 2021
1 parent 56d552e commit b8552e9
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 389 deletions.
35 changes: 30 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
'use strict';

const commons = require('js-project-commons');

module.exports = commons.lint.eslint.node;
module.exports = {
'env': {
'node': true,
'commonjs': true,
'es2021': true,
'mocha': true
},
'extends': 'eslint:recommended',
'parserOptions': {
'ecmaVersion': 13
},
'rules': {
'indent': [
'error',
4
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
};
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Your pull request build must pass (the build will run automatically).<br>
You can run the following command locally to ensure the build will pass:

````sh
npm run build
npm run test
````

* This library is using multiple code inspection tools to validate certain level of standards.<br>The configuration is part of the repository and you can set your favorite IDE using that configuration.<br>You can run the following command locally to ensure the code inspection passes:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ['10.x', '12.x', '14.x']
node-version: ['12.x', '14.x']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -25,4 +25,4 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './target/coverage/report/lcov.info'
path-to-lcov: './coverage/lcov.info'
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.idea
.c9
target
.temp
node_modules
bower_components
npm-debug.log
package-lock.json
.nyc_output
coverage
209 changes: 0 additions & 209 deletions .jscs.json

This file was deleted.

4 changes: 0 additions & 4 deletions .jshintrc

This file was deleted.

31 changes: 0 additions & 31 deletions .jslintrc

This file was deleted.

8 changes: 3 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
.idea
.c9
target
.temp
.travis.yml
.atom.*.yml
Gruntfile.js
.nyc_output
.config
coverage
bower_components
.github
test
Expand Down
3 changes: 3 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-standard"
}
17 changes: 0 additions & 17 deletions Gruntfile.js

This file was deleted.

Loading

0 comments on commit b8552e9

Please sign in to comment.