New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@meadow/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meadow/eslint-config - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.npmignore

82

index.js

@@ -15,2 +15,6 @@ module.exports = {

"plugins": [
"react"
],
"rules": {

@@ -34,3 +38,3 @@ /*

"no-extra-boolean-cast": 2,
"no-extra-parens": 2,
"no-extra-parens": 0,
"no-extra-semi": 2,

@@ -78,3 +82,3 @@ "no-func-assign": 2,

"no-implied-eval": 2,
"no-invalid-this": 2,
"no-invalid-this": 0,
"no-iterator": 2,

@@ -165,3 +169,3 @@ "no-labels": 2,

"id-match": 0,
"indent": [2, 2],
"indent": [2, 2, { "SwitchCase": 1 }],
"jsx-quotes": [2, "prefer-double"],

@@ -214,3 +218,3 @@ "key-spacing": [2, { "beforeColon": false, "afterColon": true }],

"space-return-throw-case": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"space-unary-ops": 0,
"spaced-comment": [2, "always", { "markers": ["*"] }],

@@ -223,3 +227,3 @@ "wrap-regex": 2,

"arrow-body-style": [2, "as-needed"],
"arrow-body-style": 0,
"arrow-parens": 0,

@@ -235,3 +239,3 @@ "arrow-spacing": [2, { "before": true, "after": true }],

"no-var": 2,
"object-shorthand": 2,
"object-shorthand": [2, "properties"],
"prefer-arrow-callback": 0,

@@ -242,4 +246,68 @@ "prefer-const": 2,

"prefer-template": 2,
"require-yield": 0
"require-yield": 0,
/*
* React Plugin
*/
"react/display-name": [2, { "acceptTranspilerName": true }],
"react/forbid-prop-types": [2, { "forbid": ["any"] }],
"react/jsx-boolean-value": [2, "always"],
"react/jsx-closing-bracket-location": [2, { "selfClosing": "after-props", "nonEmpty": "after-props"}],
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-handler-names": 2,
"react/jsx-indent-props": [2, 2],
"react/jsx-key": 2,
"react/jsx-max-props-per-line": [2, { "maximum": 4 }],
"react/jsx-no-bind": 2,
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-literals": 0,
"react/jsx-no-undef": 2,
"react/jsx-pascal-case": 2,
"react/jsx-sort-props": 0,
"react/jsx-sort-prop-types": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-danger": 2,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-direct-mutation-state": 2,
"react/no-multi-comp": [2, { "ignoreStateless": true }],
"react/no-set-state": 0,
"react/no-unknown-property": 2,
"react/prefer-es6-class": 0,
"react/prop-types": 2,
"react/react-in-jsx-scope": 2,
"react/require-extension": 0,
"react/self-closing-comp": 2,
"react/sort-comp": [2, {
order: [
'lifecycle',
'everything-else',
'render'
],
groups: {
lifecycle: [
'displayName',
'propTypes',
'contextTypes',
'childContextTypes',
'mixins',
'statics',
'getDefaultProps',
'getInitialState',
'getStateFromStores',
'getChildContext',
'componentWillMount',
'componentDidMount',
'componentWillReceiveProps',
'shouldComponentUpdate',
'componentWillUpdate',
'componentDidUpdate',
'componentWillUnmount'
]
}
}],
"react/wrap-multilines": 2
}
}

7

package.json
{
"name": "@meadow/eslint-config",
"version": "1.0.0",
"version": "1.0.1",
"description": "Extendable ESLint configuration by Meadow",

@@ -23,3 +23,6 @@ "main": "index.js",

},
"homepage": "https://github.com/meadow/eslint-config"
"homepage": "https://github.com/meadow/eslint-config",
"dependencies": {
"eslint-plugin-react": "^3.11.3"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc