eslint-config-yoshi-base
Advanced tools
Comparing version 2.1.8 to 2.4.0
22
index.js
@@ -6,3 +6,3 @@ module.exports = { | ||
plugins: ['prettier'], | ||
plugins: ['prettier', 'import'], | ||
@@ -141,2 +141,20 @@ env: { | ||
// https://github.com/benmosher/eslint-plugin-import | ||
'import/no-unresolved': ['error', { commonjs: true, caseSensitive: true }], | ||
'import/no-extraneous-dependencies': 'error', | ||
'import/no-amd': 'error', | ||
'import/first': ['error', 'absolute-first'], | ||
'import/no-duplicates': 'error', | ||
'import/extensions': [ | ||
'error', | ||
'ignorePackages', | ||
{ | ||
js: 'never', | ||
}, | ||
], | ||
'import/newline-after-import': 'error', | ||
'import/no-absolute-path': 'error', | ||
'import/no-cycle': ['error', { maxDepth: Infinity }], | ||
'import/no-useless-path-segments': 'error', | ||
// https://github.com/prettier/eslint-plugin-prettier | ||
@@ -146,4 +164,2 @@ 'prettier/prettier': [ | ||
{ | ||
bracketSpacing: true, | ||
printWidth: 100, | ||
singleQuote: true, | ||
@@ -150,0 +166,0 @@ trailingComma: 'all', |
{ | ||
"name": "eslint-config-yoshi-base", | ||
"version": "2.1.8", | ||
"version": "2.4.0", | ||
"description": "eslint configuration for yoshi", | ||
@@ -19,2 +19,3 @@ "main": "index.js", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-import": "^2.11.0", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
@@ -21,0 +22,0 @@ "prettier": "^1.11.1" |
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
5405
160
0
6