Skip to content

Commit c205742

Browse files
committed
Merge branch 'release/0.13.0' into npm
2 parents e8a4df9 + 002c907 commit c205742

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+9420
-4857
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[{Makefile,**.mk}]
12+
# Use tabs for indentation (Makefiles require tabs)
13+
indent_style = tab

.eslintignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
coverage/
2-
examples/
32
locales/
3+
localestowrite/
4+
localesmakeplural/
45
node_modules/
5-
test/
66
i18n-cov.js
7-
index.js

.eslintrc

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

.eslintrc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
extends: ['standard', 'plugin:prettier/recommended'],
7+
rules: {
8+
'generator-star-spacing': 'off',
9+
'space-before-function-paren': 'off',
10+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
11+
}
12+
}

.jshintrc

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

.npmignore

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

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
semi: false
2+
singleQuote: true
3+
trailingComma: none
4+
bracketSpacing: true

.snyk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.14.1
3+
ignore: {}
4+
patch: {}

.taprc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"reporter": "spec"
3+
}

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ test.examples:
44
mocha --exit examples/node-http/test.js
55
mocha --exit examples/node-http-autoreload/test.js
66

7-
test:
7+
clean:
8+
rm -rf ./localestowrite
9+
rm -rf ./localesmakeplural
10+
rm -rf ./coverage
11+
12+
test: clean
813
npm run test
914

1015
cover:
1116
npm run test-ci
1217

18+
lint:
19+
npm run lint -- --fix
20+
1321
.PHONY: test examples

0 commit comments

Comments
 (0)