@porch/eslint-config-porch
Advanced tools
Comparing version 7.1.1 to 8.0.3
16
base.js
@@ -22,12 +22,12 @@ module.exports = { | ||
'extends': [ | ||
'@porch/eslint-config-porch/env', | ||
'@porch/eslint-config-porch/rules/best-practices', | ||
'@porch/eslint-config-porch/rules/import', | ||
'@porch/eslint-config-porch/rules/mocha', | ||
'@porch/eslint-config-porch/rules/possible-errors', | ||
'@porch/eslint-config-porch/rules/strict', | ||
'@porch/eslint-config-porch/rules/style', | ||
'@porch/eslint-config-porch/rules/variables' | ||
'./env.js', | ||
'./rules/best-practices.js', | ||
'./rules/import.js', | ||
'./rules/mocha.js', | ||
'./rules/possible-errors.js', | ||
'./rules/strict.js', | ||
'./rules/style.js', | ||
'./rules/variables.js' | ||
], | ||
'rules': {} | ||
}; |
module.exports = { | ||
'extends': [ | ||
'@porch/eslint-config-porch/base', | ||
'@porch/eslint-config-porch/rules/react' | ||
'./base.js', | ||
'./rules/react.js' | ||
], | ||
rules: {} | ||
}; |
{ | ||
"name": "@porch/eslint-config-porch", | ||
"version": "7.1.1", | ||
"version": "8.0.3", | ||
"description": "Porch's eslint configuration.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo 'test'", | ||
"lint": "echo 'lint'" | ||
"lint": "eslint ." | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://porch.gitlab.com/frontend/eslint-config-porch.git" | ||
"url": "git+https://github.com/porchdotcom/eslint-config-porch.git" | ||
}, | ||
"author": "Porch Hackers <hackers@porch.com>", | ||
"license": "ISC", | ||
"author": "Porch <npm-maintainers@porch.com>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://porch.gitlab.com/frontend/eslint-config-porch/issues" | ||
"url": "https://github.com/porchdotcom/eslint-config-porch/issues" | ||
}, | ||
"homepage": "https://porch.gitlab.com/frontend/eslint-config-porch#readme", | ||
"peerDependencies": { | ||
"homepage": "https://github.com/porchdotcom/eslint-config-porch#readme", | ||
"dependencies": { | ||
"babel-eslint": "^7.0.0", | ||
@@ -26,10 +25,3 @@ "eslint": "^3.7.1", | ||
"eslint-plugin-react": "^6.3.0" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^7.0.0", | ||
"eslint": "^3.7.1", | ||
"eslint-plugin-import": "^2.0.0", | ||
"eslint-plugin-mocha": "^4.6.0", | ||
"eslint-plugin-react": "^6.3.0" | ||
} | ||
} |
@@ -0,7 +1,9 @@ | ||
# @porch/eslint-config-porch | ||
## `.eslintrc` | ||
Our `.eslintrc` requires the following NPM packages: | ||
- `eslint` | ||
- `babel-eslint` | ||
- `eslint-plugin-react` | ||
```js | ||
{ | ||
"extends": "@porch/porch" | ||
} | ||
``` |
@@ -14,6 +14,7 @@ module.exports = { | ||
'import/imports-first': 2, | ||
'import/named': 0, // we sometimes modify the exported modules at runtime, which causes this to fail | ||
'import/named': 2, | ||
'import/no-extraneous-dependencies': 2, | ||
'import/no-unresolved': 2 | ||
'import/no-unresolved': 2, | ||
'import/no-commonjs': 2 | ||
} | ||
}; |
@@ -8,5 +8,6 @@ /** | ||
'brace-style': [2, // [x] http://eslint.org/docs/rules/brace-style | ||
'1tbs', { | ||
'allowSingleLine': true | ||
}], | ||
'1tbs', { | ||
'allowSingleLine': true | ||
} | ||
], | ||
'quotes': [ | ||
@@ -41,4 +42,3 @@ 2, 'single', 'avoid-escape' // [x] http://eslint.org/docs/rules/quotes | ||
'no-trailing-spaces': 2, // [x] http://eslint.org/docs/rules/no-trailing-spaces | ||
'no-extra-parens': [2, // [x] http://eslint.org/docs/rules/no-extra-parens | ||
'functions'], | ||
'no-extra-parens': [2, 'functions'], // [x] http://eslint.org/docs/rules/no-extra-parens | ||
'no-mixed-spaces-and-tabs': 2, // [x] http://eslint.org/docs/rules/no-mixed-spaces-and-tabs | ||
@@ -45,0 +45,0 @@ 'no-underscore-dangle': 0, // [x] http://eslint.org/docs/rules/no-underscore-dangle |
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
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
16
296
1
0
10
17569
1
+ Addedbabel-eslint@^7.0.0
+ Addedeslint@^3.7.1
+ Addedeslint-plugin-import@^2.0.0
+ Addedeslint-plugin-mocha@^4.6.0
+ Addedeslint-plugin-react@^6.3.0