Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iconicompany/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iconicompany/eslint-config - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

13

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

@@ -10,2 +10,7 @@ "type": "module",

},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.js .",
"lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.js . --fix"
},
"repository": {

@@ -34,7 +39,3 @@ "type": "git",

"eslint-plugin-simple-import-sort": "^10.0.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.js ."
}
}
}

@@ -16,7 +16,7 @@ import js from "@eslint/js";

ecmaVersion: ECMA_VERSION,
sourceType: "module"
sourceType: "module",
},
plugins: {
iconicompany: rules,
"simple-import-sort": simpleImportSort
"simple-import-sort": simpleImportSort,
},

@@ -29,2 +29,3 @@ rules: {

indent: ["error", 2, { SwitchCase: 1 }],
"comma-dangle": ["error", "always-multiline"],
"lines-around-comment": "off",

@@ -37,4 +38,4 @@ "func-style": ["error", "declaration", { allowArrowFunctions: true }],

"CallExpression[callee.object.name='console'][callee.property.name!=/^(error|trace)$/]",
message: "Unexpected property on console object was called"
}
message: "Unexpected property on console object was called",
},
],

@@ -47,7 +48,7 @@ "simple-import-sort/imports": "error",

{
toAvoid: ["data"]
}
]
}
}
toAvoid: ["data"],
},
],
},
},
];

@@ -7,3 +7,3 @@ import prettier from "eslint-plugin-prettier";

plugins: {
prettier
prettier,
},

@@ -25,7 +25,7 @@ rules: {

usePrettierrc: false,
arrowParens: "avoid"
}
]
}
}
arrowParens: "avoid",
},
],
},
},
];
export default {
meta: {
messages: {
avoidName: "Avoid using variables named '{{ name }}'"
avoidName: "Avoid using variables named '{{ name }}'",
},

@@ -13,8 +13,8 @@ schema: [

items: {
type: "string"
}
}
}
}
]
type: "string",
},
},
},
},
],
},

@@ -32,9 +32,9 @@ create(context) {

data: {
name: "data"
}
name: "data",
},
});
}
}
},
};
}
},
};

@@ -5,4 +5,4 @@ import avoidNaming from "./avoid-naming.js";

rules: {
"avoid-naming": avoidNaming
}
"avoid-naming": avoidNaming,
},
};
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