Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.

Commit 02e907a

Browse files
authored
Merge pull request #290 from KubaJastrz/maintenance
chore: bump dependencies
2 parents d61ab3d + 40cd776 commit 02e907a

25 files changed

+5260
-7377
lines changed

.eslintrc.js

+19-22
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
11
module.exports = {
2-
"extends": "airbnb-base",
3-
"env": {
4-
"jest": true,
5-
"node": true
2+
extends: ['airbnb-base', 'prettier'],
3+
plugins: ['prettier'],
4+
env: {
5+
jest: true,
6+
node: true
67
},
7-
"rules": {
8-
// Ignored because prettier handles this
9-
"semi": 0,
10-
"comma-dangle": 0,
11-
"no-mixed-operators": 0,
12-
"arrow-parens": 0,
8+
rules: {
9+
'prettier/prettier': 1,
1310

1411
// Repo preferences
15-
"class-methods-use-this": 0,
16-
"symbol-description": 0,
17-
"no-unused-vars": [2, { "varsIgnorePattern": "^_+$" }],
18-
"import/no-extraneous-dependencies": 0,
19-
"no-confusing-arrow": 0,
20-
"no-else-return": 0,
21-
"no-prototype-builtins": 0
12+
'class-methods-use-this': 0,
13+
'symbol-description': 0,
14+
'no-unused-vars': [2, { varsIgnorePattern: '^_+$' }],
15+
'import/no-extraneous-dependencies': 0,
16+
'no-confusing-arrow': 0,
17+
'no-else-return': 0,
18+
'no-prototype-builtins': 0
2219
},
23-
"parserOptions": {
24-
"ecmaVersion": 7,
25-
"sourceType": "module",
26-
"ecmaFeatures": {
27-
"jsx": true
20+
parserOptions: {
21+
ecmaVersion: 2018,
22+
sourceType: 'module',
23+
ecmaFeatures: {
24+
jsx: true
2825
}
2926
}
3027
}

.lintstagedrc

-7
This file was deleted.

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test/fixtures/**/*.js
2+
lib/
3+
coverage/

.prettierrc.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
printWidth: 100
2+
tabWidth: 2
3+
semi: false
4+
singleQuote: true

README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,11 @@ And it also has some options. Their default values are,
5151
"ignoreFiles": [],
5252
"parserPlugins": [
5353
"jsx",
54-
"objectRestSpread",
5554
["decorators", { "decoratorsBeforeExport": true }],
5655
"classProperties",
5756
"exportExtensions",
58-
"asyncGenerators",
5957
"functionBind",
60-
"functionSent",
61-
"dynamicImport",
62-
"optionalCatchBinding",
63-
"optionalChaining"
58+
"functionSent"
6459
]
6560
}]]
6661
}

0 commit comments

Comments
 (0)