Skip to content

Commit

Permalink
Merge branch 'release/0.13.0' into npm
Browse files Browse the repository at this point in the history
  • Loading branch information
mashpie committed Aug 20, 2020
2 parents e8a4df9 + 002c907 commit c205742
Show file tree
Hide file tree
Showing 59 changed files with 9,420 additions and 4,857 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab
5 changes: 2 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
coverage/
examples/
locales/
localestowrite/
localesmakeplural/
node_modules/
test/
i18n-cov.js
index.js
213 changes: 0 additions & 213 deletions .eslintrc

This file was deleted.

12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
root: true,
env: {
node: true
},
extends: ['standard', 'plugin:prettier/recommended'],
rules: {
'generator-star-spacing': 'off',
'space-before-function-paren': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}
62 changes: 0 additions & 62 deletions .jshintrc

This file was deleted.

10 changes: 0 additions & 10 deletions .npmignore

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
semi: false
singleQuote: true
trailingComma: none
bracketSpacing: true
4 changes: 4 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
ignore: {}
patch: {}
3 changes: 3 additions & 0 deletions .taprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"reporter": "spec"
}
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ test.examples:
mocha --exit examples/node-http/test.js
mocha --exit examples/node-http-autoreload/test.js

test:
clean:
rm -rf ./localestowrite
rm -rf ./localesmakeplural
rm -rf ./coverage

test: clean
npm run test

cover:
npm run test-ci

lint:
npm run lint -- --fix

.PHONY: test examples
Loading

0 comments on commit c205742

Please sign in to comment.