Socket
Socket
Sign inDemoInstall

@porch/eslint-config-porch

Package Overview
Dependencies
298
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.1.1 to 8.0.3

.eslintrc.json

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc