Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -14,7 +14,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 Down Expand Up @@ -45,4 +45,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'
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea
.c9
bower_components
target
.temp
node_modules
bower_components
npm-debug.log
target
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