Skip to content

Commit

Permalink
feat(common-config): add 'no-var' to all contexts. (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
neverendingqs authored Aug 2, 2023
1 parent f141cc8 commit 4ab28db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions browser-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ module.exports = {
"no-duplicate-imports": 2,
"no-restricted-syntax": ["error", "CatchClause[param=null]"],
"no-useless-constructor": 2,
"no-var": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-spread": 2,
"prefer-template": 2,
"sort-imports": [2, { "ignoreCase": true }],
Expand Down
1 change: 1 addition & 0 deletions common-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports = {
"no-unreachable": 2,
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"no-use-before-define": [2, "nofunc"], // nr
"no-var": 2, // nr
"object-curly-spacing": [2, "always"],
"prefer-const": 2, // nr
"quotes": [2, "single", "avoid-escape"], // nr
Expand Down

0 comments on commit 4ab28db

Please sign in to comment.