Skip to content

Commit

Permalink
V14 (#216)
Browse files Browse the repository at this point in the history
* remove unnecessary override

* ecmaVersion 2020

* add no-promise-executor-return

* no-unreachable-loop

* v14
  • Loading branch information
pohnemus authored Aug 30, 2020
1 parent 4e44a56 commit a9898c1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .npmpackagejsonlintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"extends": "npm-package-json-lint-config-tc",
"rules": {
"valid-values-engines": "off"
}
"extends": "npm-package-json-lint-config-tc"
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
],
plugins: ['jest', 'prettier'],
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 2020,
sourceType: 'module',
},
env: {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-tc",
"version": "13.0.2",
"version": "14.0.0",
"description": "ESLint shareable config for JavaScript projects",
"keywords": [
"eslintconfig",
Expand Down
2 changes: 2 additions & 0 deletions rules/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ module.exports = {
'no-implicit-globals': 'error',
'no-labels': 'error',
'no-param-reassign': 'error',
'no-promise-executor-return': 'error',
'no-unmodified-loop-condition': 'error',
'no-unused-expressions': 'error',
'no-useless-call': 'error',
'no-unreachable-loop': 'error',
'no-warning-comments': 'warn',
'require-await': 'error',
},
Expand Down

0 comments on commit a9898c1

Please sign in to comment.