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

eslint-config-iplayer-tsx

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-iplayer-tsx - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

rules/typescript-overrides.js

7

index.js

@@ -19,6 +19,6 @@ const mainRules = require('eslint-config-iplayer');

plugins: [
'react',
'typescript'
'@typescript-eslint',
'react'
],
parser: 'typescript-eslint-parser',
parser: '@typescript-eslint/parser',
extends: [

@@ -28,2 +28,3 @@ 'eslint-config-iplayer',

'./rules/typescript',
'./rules/typescript-overrides',
'./rules/tsx'

@@ -30,0 +31,0 @@ ].map(require.resolve),

{
"name": "eslint-config-iplayer-tsx",
"version": "0.3.0",
"version": "1.0.0",
"description": "eslint config for iPlayer Typescript JSX modules",

@@ -28,12 +28,12 @@ "main": "index.js",

"devDependencies": {
"eslint": "^3.0.0",
"typescript": "^2.9.2"
"eslint": "^5.16.0",
"typescript": "^3.4.5"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"eslint-config-iplayer": "^6.2.0",
"eslint-config-iplayer-jsx": "^4.3.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-typescript": "^0.12.0",
"typescript-eslint-parser": "^17.0.1"
"eslint-plugin-react": "^7.4.0"
}
}
# eslint-config-iplayer-tsx
**N.B: THIS PACKAGE IS STILL A WORK IN PROGRESS AND DOES NOT YET SUPPORT TYPESCRIPT 3**
> [eslint](http://eslint.org/) config for BBC iPlayer React Typescript JSX projects.

@@ -6,0 +4,0 @@

module.exports = {
rules: {
// Prevent TypeScript-specific constructs from being erroneously flagged as unused
['typescript/no-unused-vars']: 2,
// Not needed in TS and causes lots of false positives in interfaces
['no-undef']: 0,
// Strict mode is not valid in TS
['strict']: [2, 'never']
'@typescript-eslint/adjacent-overload-signatures': 2,
'@typescript-eslint/array-type': 2,
'@typescript-eslint/ban-types': 2,
'@typescript-eslint/class-name-casing': 2,
'@typescript-eslint/member-delimiter-style': 'error',
'@typescript-eslint/no-angle-bracket-type-assertion': 2,
'@typescript-eslint/no-empty-interface': 2,
'@typescript-eslint/no-inferrable-types': 2,
'@typescript-eslint/no-misused-new': 2,
'@typescript-eslint/no-namespace': 2,
'@typescript-eslint/no-non-null-assertion': 2,
'@typescript-eslint/no-object-literal-type-assertion': 2,
'@typescript-eslint/no-parameter-properties': 2,
'@typescript-eslint/no-triple-slash-reference': 2,
'@typescript-eslint/prefer-namespace-keyword': 2,
'@typescript-eslint/type-annotation-spacing': 2
}
};
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