Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Commit 95b0eba

Browse files
author
Philippe Tellier
committed
Update rules
1 parent 2bdd7e0 commit 95b0eba

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ module.exports = {
99
ecmaVersion: 2018,
1010
sourceType: 'module'
1111
},
12-
plugins: ["html"],
12+
plugins: ['html'],
1313
rules: {
1414
'arrow-body-style': 'off',
1515
'arrow-parens': 0,
16+
'consistent-return': 'warn',
1617
'eqeqeq': 'off',
1718
'generator-star-spacing': 0,
18-
'import/extensions': 'off',
19+
'import/extensions': ['error', 'ignorePackages'],
20+
'import/no-extraneous-dependencies': 'off',
1921
'import/no-unresolved': 'off',
2022
'indent': ['error', 4, { SwitchCase: 1 }],
2123
'max-len': ['warn', { code: 200, tabWidth: 4, ignoreStrings: true, ignoreTemplateLiterals: true }],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@activix/eslint-config",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Activix's JS ESLint config, following our styleguide",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)