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

@conduitvc/airbnb

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conduitvc/airbnb - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

71

index.js

@@ -9,38 +9,38 @@ const airbnb = require('@neutrinojs/airbnb');

const base = eslint({ flow, typescript });
const extensions = ['prettier/react'];
const plugins = [];
const rules = {
// Enable anchors with react-router Link
'jsx-a11y/anchor-is-valid': ['error', {
components: ['Link'],
specialLink: ['to'],
}],
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/label-has-for': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'no-console': process.env.NODE_ENV === 'development' ? 'off' : 'error',
// handled by prettier rules
'react/default-props-match-prop-types': 'off',
'react/jsx-closing-bracket-location': 'off',
'react/jsx-handler-names': ['error', {
eventHandlerPrefix: 'handle',
eventHandlerPropPrefix: 'on',
}],
'react/jsx-indent': 'off',
// styling choice which makes using redux in es6 style more difficult.
'react/no-multi-comp': 'off',
'react/prefer-stateless-function': 'off',
// we have not annotated anything in prop-types
'react/prop-types': 'off',
'react/sort-comp': 'off',
const baseConfig = {
extends: ['prettier/react'],
plugins: [],
rules: {
// Enable anchors with react-router Link
'jsx-a11y/anchor-is-valid': ['error', {
components: ['Link'],
specialLink: ['to'],
}],
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/label-has-for': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'no-console': process.env.NODE_ENV === 'development' ? 'off' : 'error',
// handled by prettier rules
'react/default-props-match-prop-types': 'off',
'react/jsx-closing-bracket-location': 'off',
'react/jsx-handler-names': ['error', {
eventHandlerPrefix: 'handle',
eventHandlerPropPrefix: 'on',
}],
'react/jsx-indent': 'off',
// styling choice which makes using redux in es6 style more difficult.
'react/no-multi-comp': 'off',
'react/prefer-stateless-function': 'off',
'react/sort-comp': 'off',
},
settings: {},
};
const settings = {};
if (typescript) {
rules['react/jsx-filename-extension'] = [
baseConfig.rules['react/jsx-filename-extension'] = [
'error',
{ extensions: ['.tsx', '.ts', '.jsx', '.js'] }
];
settings['import/resolver'] = {
baseConfig.settings['import/resolver'] = {
node: {

@@ -50,12 +50,7 @@ extensions: TS_EXTENSIONS

};
settings['import/extensions'] = TS_EXTENSIONS;
baseConfig.settings['import/extensions'] = TS_EXTENSIONS;
baseConfig.parser = 'typescript-eslint-parser';
}
const airbnbDefaults = merge(base.eslint, {
baseConfig: {
extends: extensions,
plugins,
rules,
},
});
const airbnbDefaults = merge(base.eslint, { baseConfig });
const options = {

@@ -62,0 +57,0 @@ ...base,

{
"name": "@conduitvc/airbnb",
"version": "2.0.2",
"version": "3.0.0",
"main": "index.js",

@@ -12,3 +12,3 @@ "author": "Eli Perelman <eli@eliperelman.com>",

"dependencies": {
"@conduitvc/eslint": "^2.0.2",
"@conduitvc/eslint": "^3.0.0",
"@neutrinojs/airbnb": "^9.0.0-rc.0"

@@ -20,3 +20,3 @@ },

},
"gitHead": "5cbd611e1f73e5b1e92b4e3805491a5ee7134fee"
"gitHead": "66766906dd7d5f1fb8c0f9d12b6eda4b1c15eb50"
}
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