eslint-config-netflix - Shared ESLint config for Netflix JavaScript

  •        43

Shared ESLint config for Netflix JavaScript

https://github.com/Netflix/eslint-config-netflix#readme

Tags
Implementation
License
Platform

   




Related Projects

jhipster-registry - JHipster Registry, based on Spring Cloud Netflix Eureka and Spring Cloud Config

  •    Java

This is the JHipster registry service, based on Spring Cloud Netflix, Eureka and Spring Cloud Config. Full documentation is available on the JHipster documentation for microservices.


eslint-loader - eslint loader (for webpack)

  •    Javascript

You can pass eslint options using standard webpack loader options. Note that the config option you provide will be passed to the CLIEngine. This is a different set of options than what you'd specify in package.json or .eslintrc. See the eslint docs for more detail.

tslint-eslint-rules - Improve your TSLint with the missing ESLint rules

  •    TypeScript

You can also add other tslint config packages to combine these rules with other custom community rules. In your tslint.json file, insert the rules as described below.

eslint-plugin-react - React specific linting rules for ESLint

  •    Javascript

Install ESLint either locally or globally. If you installed ESLint globally, you have to install React plugin globally too. Otherwise, install it locally.

netflix-1080p - Chrome extension to play Netflix in 1080p and 5.1

  •    Javascript

What it is doing is testing your User-agent for the "CrOS" string anywhere in it. If the search returns true, it appends the 1080p profile to the profile playback array (what this line a && this.oo.push(x.V.TH); is doing). If it returns false, it does nothing. The playback profile array is set up like so: this.oo = [x.V.vA, x.V.wA];, x.V.vA is the SD profile and x.V.wA is the 720p profile. After reading this you think the easy solution would be to just change the User-agent to make it contain the string "CrOS" right? Not that simple. ChromeOS apparently has a different DRM implementation than chrome, even though both use Widevine. I could never get it to work when I tried, Netflix always threw license errors. The next easiest thing to do is just delete the conditional to append 1080p and just make the 1080p profile apart of the regular profiles (this.oo = [x.V.vA, x.V.wA]; -> this.oo = [x.V.vA, x.V.wA, x.V.TH];). This works perfectly, but only for the majority of Netflix content. A few videos, like Disney movies, have manifests completely restricted to Edge to the point where you can't obtain them without an Edge ESN.

prettier-eslint-cli - CLI for prettier-eslint

  •    Javascript

You have a bunch of files that you want to format using prettier-eslint. But prettier-eslint can only operate on strings. This is a CLI that allows you to use prettier-eslint on one or multiple files. prettier-eslint-cli forwards on the filePath and other relevant options to prettier-eslint which identifies the applicable ESLint config for each file and uses that to determine the options for prettier and eslint --fix.

typescript-eslint-parser - An ESLint custom parser which leverages TypeScript ESTree to allow for ESLint to lint TypeScript source code

  •    Javascript

An ESLint custom parser which leverages TypeScript ESTree to allow for ESLint to lint TypeScript source code. There is sometimes an incorrect assumption that the parser itself is what does everything necessary to facilitate the use of ESLint with TypeScript. In actuality, it is the combination of the parser and one or more plugins which allow you to maximize your usage of ESLint with TypeScript.

eslint-config-cleanjs - An eslint config which reduces JS to a pure functional language

  •    Javascript

This is an ESLint configuration which aims to restrict you to a subset of JavaScript which would be as close to an idealised pure functional language as possible. The idea is to see if it's possible to banish all the Bad Parts (well, except for the single numeric type being IEEE 754 floating point) and leave a language without the design flaws which have plagued JS from the start, and which aren't easy to design out of the language without becoming a subset of itself. Please note that this rule set is meant for use only with ES6 or higher (and the ES7 object rest spread proposal helps a lot).

eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier.

  •    Javascript

Turns off all rules that are unnecessary or might conflict with Prettier. This lets you use you favorite shareable config without letting its stylistic choices get in the way when using Prettier.

prettier-eslint - Code :arrow_right: prettier :arrow_right: eslint --fix :arrow_right: Formatted Code :sparkles:

  •    Javascript

The fix feature of eslint is pretty great and can auto-format/fix much of your code according to your ESLint config. prettier is a more powerful automatic formatter. One of the nice things about prettier is how opinionated it is. Unfortunately it's not opinionated enough and/or some opinions differ from my own. So after prettier formats the code, I start getting linting errors. This formats your code via prettier, and then passes the result of that to eslint --fix. This way you can get the benefits of prettier's superior formatting capabilities, but also benefit from the configuration capabilities of eslint.

sku - Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less, ESLint and Jest.

  •    Javascript

Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less, ESLint and Jest. Quickly get up and running with a zero-config development environment, or optionally add minimal config when needed. Designed for usage with seek-style-guide, although this isn't a requirement.

eslint-plugin-jsx-a11y - Static AST checker for a11y rules on JSX elements.

  •    Javascript

Static AST checker for accessibility rules on JSX elements. Ryan Florence built out this awesome runtime-analysis tool called react-a11y. It is super useful. However, since you're probably already using linting in your project, this plugin comes for free and closer to the actual development process. Pairing this plugin with an editor lint plugin, you can bake accessibility standards into your application in real-time.

Grauenwolf's .NET Wrapper for the Netflix API

  •    

This is a .NET Wrapper for the Netflix API. Currently it supports low level requests including OAuth signing. A high level object model is planned.

recipes-rss - RSS Reader Recipes that uses several of the Netflix OSS components

  •    Java

RSS is a Netflix Recipes application demonstrating how all of the following Netflix Open Source components can be tied together.Shared classes between edge and middletier.