An ESLint plugin for writing Remix.js Apps

Overview

eslint-plugin-remix

An ESLint plugin for Remix

Installing

  1. Firstly, install the dependency with Yarn yarn add eslint-plugin-remix --dev or with npm npm install eslint-plugin-remix --save-dev.
  2. Add remix to your plugins array in your eslint configuration file.
  3. Enable rules by writing "remix/<rule-name>": "error" in your eslint configuration file.

Rules:

node-server-imports:

Ensures that all imports for known node builtins are only ever used in .server.ts files.

You might also like...

Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome.

Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome.

Flatline Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome. Load the extension in Firefox Clone the repository Open

Nov 7, 2022

Sample apps showing how to build music and video apps for Xbox using a WebView.

Sample apps showing how to build music and video apps for Xbox using a WebView.

description languages name page_type products urlFragment Sample showing how to build music and video apps using primarily web technologies for Xbox.

Dec 14, 2022

why make apps to increase focus -- when you can make apps to reduce focus

impossifocus 🕺 What is this? ImpossiFocus will measure focus by reading your brainwaves -- and if you're in the zone, it'll ensure that changes with

Nov 30, 2022

A kickstarter guide to writing ES6

A kickstarter guide to writing ES6

ES6 for Humans 📢 The complete guide is now available on Amazon Table of Contents let, const and block scoping Arrow Functions Default Function Parame

Jan 4, 2023

⚡️ Makes writing scripts absurdly easy

haxx easily create and run scripts using javascript getting started • commands • api Features 🔀 Process DX - easily manage and run processes 📦 Javas

Apr 15, 2022

Transpile TypeScript to Espruino flavor of JavaScript for ESP8266/ESP32 microcontrollers template project. Writing safe, maintainable, and testable code is the projects goal.

Transpile TypeScript to Espruino flavor of JavaScript for ESP8266/ESP32 microcontrollers template project. Writing safe, maintainable, and testable code is the projects goal.

ESP-TypeScript Transpile TypeScript to Espruino flavor of JavaScript for ESP8266/ESP32 microcontrollers template project. Writing safe, maintainable,

Dec 20, 2022

AdsPower supports Local API, which has functions like reading and writing account configuration information, opening and closing browsers, searching for accounts.

AdsPower supports Local API, which has functions like reading and writing account configuration information, opening and closing browsers, searching for accounts. Besides, it can cooperate with Selenium and Puppeteer to execute browser operations automatically.

Dec 1, 2022

Stop re-writing thirdweb snippets. Use thirdsnips to make it all snap!

Stop re-writing thirdweb snippets. Use thirdsnips to make it all snap!

🌈 thirdsnips Stop re-writing thirdweb snippets. Use thirdsnips to make it all snap! Thirdsnips is a tool which enhances the developer experience whil

Dec 14, 2022

📦 Writing Express but feel like Spring Boot

Springpress Custom top-level framework of Express.js, especially on TypeScript. Springpress provides expressjs utilities out of the box, lets you deep

Oct 14, 2022
Comments
  • feat: impl use-loader-data-types rule

    feat: impl use-loader-data-types rule

    Sending as a draft for reference - hi @alii, nice to meet you! 😄

    This PR is in response to https://twitter.com/TkDodo/status/1586450960385294337 - a few folks on Twitter talking about how it'd be nice to have a lint rule to enforce that useLoaderData is called like useLoaderData<typeof loader>(), for maximum type safety.

    I added a dependency on @typescript-eslint/parser and @typescript-eslint/utils for type safety, to get TSESTree.CallExpression. Again, just throwing this up as a reference - @alii I'm happy to close if you think this doesn't belong here, or change as you'd like!

    Note that this version of a use-loader-data-types rule is very straightforward and not particularly smart. For example, it doesn't use @typescript-eslint/scope-analysis to check whether a loader even exists in the file.

    opened by JoshuaKGoldberg 3
Owner
Alistair Smith
gpg 1C8DB2C8FC5227E4EBFFA63C07BD01280A033FB2
Alistair Smith
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Remix + Cloudflare Workers + Wrangler2 + Tailwind + ESLint + Prettier + Vitest + Playwright

Welcome to Remix! Remix Docs Development You will be running two processes during development: The Miniflare server (miniflare is a local environment

null 48 Dec 19, 2022
The Remix version of the fakebooks app demonstrated on https://remix.run. Check out the CRA version: https://github.com/kentcdodds/fakebooks-cra

Remix Fakebooks App This is a (very) simple implementation of the fakebooks mock app demonstrated on remix.run. There is no database, but there is an

Kent C. Dodds 61 Dec 22, 2022
Remix Stack for deploying to Vercel with remix-auth, Planetscale, Radix UI, TailwindCSS, formatting, linting etc. Written in Typescript.

Remix Synthwave Stack Learn more about Remix Stacks. npx create-remix --template ilangorajagopal/synthwave-stack What's in the stack Vercel deploymen

Ilango 56 Dec 25, 2022
Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. In this workshop, we'll look at some more advanced use cases when building Remix applications.

?? Advanced Remix Workshop Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. In this

Frontend Masters 167 Dec 9, 2022
Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. Get a jumpstart on Remix with this workshop.

?? Remix Fundamentals Build Better websites with Remix Remix enables you to build fantastic user experiences for the web and feel happy with the code

Frontend Masters 204 Dec 25, 2022
simple-remix-blog is a blog template built using Remix and TailwindCSS. Create your own blog in just a few minutes!

simple-remix-blog is a blog template built using remix.run and TailwindCSS. It supports markdown and MDX for the blog posts. You can clone it and star

José Miguel Álvarez Vañó 8 Dec 8, 2022
This Plugin adds shortcodes with various prewritten phrases to improve quality and productivity of your writing.

Obsidian Phrasebank This Plugin adds shortcodes with various prewritten phrases to improve quality and productivity of your writing. Example :intro_pr

Viktor Bezdek 9 Jan 1, 2023
The Remix Stack for Web2 apps and Web3 DApps with authentication with Magic, testing, linting, formatting, etc.

Remix French House Stack Learn more about Remix Stacks. npx create-remix --template janhesters/french-house-stack What's in the Stack? The French Hou

Jan Hesters 26 Dec 26, 2022