Socket
Socket
Sign inDemoInstall

@gossi/config-eslint

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gossi/config-eslint - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

configs/rules/qunit.js

7

configs/-utils.js

@@ -70,2 +70,9 @@ // @ts-check

// when this override is based on the existence of a given plugin, then we
// check if the plugin is present and if not don't apply the config to not
// break the users' eslint run
if (override.plugin && !hasDep(`eslint-plugin-${override.plugin}`)) {
return source;
}
if ('rule' in override) {

@@ -72,0 +79,0 @@ return merge(source, override.rule, options);

10

configs/ember.js

@@ -223,6 +223,3 @@ 'use strict';

return {
...browserJS,
extends: [...browserJS.extends, 'plugin:qunit/recommended']
};
return pipe(browserJS, (config) => merge(config, require('./rules/qunit')));
},

@@ -234,6 +231,3 @@ get ts() {

return {
...browserTS,
extends: [...browserTS.extends, 'plugin:qunit/recommended']
};
return pipe(browserTS, (config) => merge(config, require('./rules/qunit')));
}

@@ -240,0 +234,0 @@ }

2

configs/rules/decorator-position.js

@@ -7,3 +7,3 @@ const plugin = 'decorator-position';

const rule = {
plugins: ['decorator-position'],
plugins: [plugin],
extends: ['plugin:decorator-position/ember']

@@ -10,0 +10,0 @@ };

'use strict';
const plugin = 'import';
/**

@@ -8,3 +10,3 @@ *

const rule = {
plugins: ['import'],
plugins: [plugin],
extends: ['plugin:import/recommended'],

@@ -34,2 +36,2 @@ rules: {

module.exports = { rule };
module.exports = { rule, plugin };
{
"name": "@gossi/config-eslint",
"version": "0.4.0",
"version": "0.4.1",
"repository": "https://github.com/gossi/frontend-configs",

@@ -11,3 +11,3 @@ "dependencies": {

"eslint-plugin-json": "^3.1.0",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-prettier": "^4.2.1",

@@ -50,16 +50,16 @@ "eslint-plugin-simple-import-sort": "^10.0.0"

"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/eslint-parser": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@tsconfig/node18": "^2.0.1",
"@babel/core": "^7.22.8",
"@babel/eslint-parser": "^7.22.7",
"@babel/preset-env": "^7.22.7",
"@tsconfig/node18": "^18.2.0",
"@tsconfig/strictest": "^2.0.1",
"@types/node": "^20.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "^8.42.0",
"eslint-plugin-ember": "^11.8.0",
"@types/node": "^20.3.3",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"eslint": "^8.44.0",
"eslint-plugin-ember": "^11.9.0",
"eslint-plugin-qunit": "^7.3.4",
"eslint-plugin-storybook": "^0.6.12",
"prettier": "^2.8.8",
"typescript": "^5.1.3"
"typescript": "^5.1.6"
},

@@ -66,0 +66,0 @@ "engines": {

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