@warp-ds/eslint-config
Advanced tools
Comparing version 0.0.1 to 1.0.0
23
index.js
@@ -10,9 +10,12 @@ module.exports = { | ||
}, | ||
extends: ['prettier'], | ||
plugins: ['prettier'], | ||
rules: { | ||
'semi': ['error'], | ||
'indent': ['error', 2, { SwitchCase: 1 }], | ||
'prettier/prettier': ['error'], | ||
semi: ['error'], | ||
indent: ['error', 2, { SwitchCase: 1 }], | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'arrow-body-style': ['error', 'as-needed'], | ||
'curly': ['error', 'multi-line'], | ||
'eqeqeq': ['error', 'smart'], | ||
curly: ['error', 'multi-line'], | ||
eqeqeq: ['error', 'smart'], | ||
'key-spacing': ['error', { mode: 'minimum' }], | ||
@@ -35,4 +38,12 @@ 'no-confusing-arrow': ['error'], | ||
'no-multiple-empty-lines': 'error', | ||
'no-unused-vars': ['warn', { args: 'none', caughtErrors: 'none', ignoreRestSiblings: true, vars: 'all' }], | ||
'no-unused-vars': [ | ||
'warn', | ||
{ | ||
args: 'none', | ||
caughtErrors: 'none', | ||
ignoreRestSiblings: true, | ||
vars: 'all', | ||
}, | ||
], | ||
}, | ||
} | ||
}; |
{ | ||
"name": "@warp-ds/eslint-config", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
@@ -15,4 +12,9 @@ "author": "", | ||
"devDependencies": { | ||
"eslint": "^8.34.0" | ||
"eslint": "^8.34.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1694
47
2
3
1