Socket
Socket
Sign inDemoInstall

eslint-config-adc

Package Overview
Dependencies
207
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.1.0

68

index.js
module.exports = {
"extends": [ "eslint:recommended" ],
"env": {
"node": true,
"browser": true,
"es6": true,
'extends': ['eslint:recommended'],
'env': {
'node': true,
'browser': true,
'es6': true,
},
"rules": {
"no-console": 0,
"no-shadow": 2,
"jsx-quotes": 1,
"semi": [1, "never"],
"comma-dangle": [1, "always-multiline"],
"array-bracket-spacing": [1, "never"],
"block-spacing": [1, "always"],
"computed-property-spacing": 1,
"eol-last": 1,
"indent": [1, 2],
"keyword-spacing": 1,
"no-spaced-func": 1,
"no-trailing-spaces": 1,
"no-whitespace-before-property": 1,
"quotes": [1, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"object-curly-spacing": [1, "never"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, "never"],
"space-in-parens": [1, "never"],
"space-infix-ops": 1,
"space-unary-ops": 1,
"spaced-comment": 1,
"arrow-spacing": 1,
"generator-star-spacing": 1,
"template-curly-spacing": [1, "never"],
"yield-star-spacing": 1,
"no-multi-spaces": 1,
'rules': {
'no-console': 0,
'no-shadow': 2,
'jsx-quotes': 1,
'semi': [1, 'never'],
'comma-dangle': [1, 'always-multiline'],
'array-bracket-spacing': [1, 'never'],
'block-spacing': [1, 'always'],
'computed-property-spacing': 1,
'eol-last': 1,
'indent': [1, 2],
'keyword-spacing': 1,
'no-spaced-func': 1,
'no-trailing-spaces': 1,
'no-whitespace-before-property': 1,
'quotes': [1, 'single', {'avoidEscape': true, 'allowTemplateLiterals': true}],
'object-curly-spacing': [1, 'never'],
'space-before-blocks': [1, 'always'],
'space-before-function-paren': [1, 'never'],
'space-in-parens': [1, 'never'],
'space-infix-ops': 1,
'space-unary-ops': 1,
'spaced-comment': 1,
'arrow-spacing': 1,
'generator-star-spacing': 1,
'template-curly-spacing': [1, 'never'],
'yield-star-spacing': 1,
'no-multi-spaces': 1,
'object-curly-newline': 1,
'rest-spread-spacing': 1,
},
}
{
"name": "eslint-config-adc",
"version": "1.0.1",
"version": "1.1.0",
"description": "eslint config for adc",

@@ -5,0 +5,0 @@ "main": "index.js",

module.exports = {
"extends": [ "./", "plugin:react/recommended" ],
"plugins": [ "react" ],
"rules": {
"react/sort-prop-types": 1,
"react/self-closing-comp": 1,
"react/wrap-multilines": 1,
"react/jsx-boolean-value": 1,
"react/jsx-closing-bracket-location": 1,
"react/jsx-curly-spacing": 1,
"react/jsx-equals-spacing": 1,
"react/jsx-space-before-closing": 1,
"react/jsx-indent-props": [1, 2],
'extends': ['./', 'plugin:react/recommended'],
'plugins': ['react'],
'rules': {
'react/sort-prop-types': 1,
'react/self-closing-comp': 1,
'react/wrap-multilines': 1,
'react/jsx-boolean-value': 1,
'react/jsx-closing-bracket-location': 1,
'react/jsx-curly-spacing': 1,
'react/jsx-equals-spacing': 1,
'react/jsx-space-before-closing': 1,
'react/jsx-indent-props': [1, 2],
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
'parserOptions': {
'ecmaFeatures': {
'jsx': true,
},
},
}
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