📦 Custom eslint rules for a better life.

Overview

Eslint Plugin Rimac

Commitizen friendly Conventional Changelog semantic-release: angular

Architecture

  • When creating a new rule put it in the src/rules folder
    • Name the file the same as the rule itself
    • For example rimac/import-declaration-newline should be called import-declaration-newline.ts
  • Any shared utils/functions/variables should be put into src/utils folder

Resources

Notes

Acknowledgments

TODO

  • Figure out why fixtures folder is needed. Something to do with this PR
Comments
  • Expand Todo comment matcher

    Expand Todo comment matcher

    In the rule where eslint checks do we have an jira link for each todo, eslint only checks for UPPER case comment. This should work for both uppercase and lower case definition of comment

    image released 💡 Feature 
    opened by Spolja 1
  • Add dedent

    Add dedent

    https://www.npmjs.com/package/dedent

    This will allow writing tests within a pretty format without having to worry about indentation failing the tests.

    Example usage

    🔧 Refactor released 
    opened by vuki656 1
  • Todo rule cant be disabled

    Todo rule cant be disabled

    Since it's checking for the todo string and recognizing that as a todo comment, the eslint ignore comment we put above it will also be recognized as todo and be reported that it needs a link. Going in circles.

    opened by vuki656 1
  • No default thrown errors

    No default thrown errors

    We would like to 'permit' throwing of default errors like Throw new Error()

    Errors manually thrown should allways be locally implemented and should contain a detailed message, status, etc...

    opened by Spolja 0
  • Figure out how eslint validates params if required: true passed to schema properties.

    Figure out how eslint validates params if required: true passed to schema properties.

    In cypress-consistent-action-names rule and others, if we pass required: true to one or both params in theschema` part of the rule definition, the tests will fail to complain that the params were not passed but all the data arrives correctly to the rule.

    If required: true is removed the tests pass correctly.

    • [ ] Figure out what structure the rule is expecting when required; true is set.
    🔧 Refactor 
    opened by vuki656 0
  • Enforce specific formatting rule when method signature parameter contains annotation

    Enforce specific formatting rule when method signature parameter contains annotation

    Issues

    • [x] I have checked existing issues and there are no existing ones with the same request.

    Feature description

    We have usages of annotations inside method parameters, how usually we write them is as following picture shows: image

    This is rather hard to read and i'd like to enforce a specific ruleset when method parameter contains annotation, how i'd like the code to look like is following: image

    💡 New Rule 
    opened by Spolja 0
Releases(v1.4.1)
Owner
Rimac Technology
Rimac Technology is a company focused on engineering, development, production, and supply of high-performance tech for automotive industry
Rimac Technology
🔥 Monorepo for ESLint rules

Betsys ESLint Monorepo for all the ESLint tooling we use in Betsys ?? Click on a specific configuration or plugin to get more information and installa

Betsys 5 Dec 5, 2022
Automatic documentation generator for ESLint plugins and rules.

eslint-doc-generator Automatic documentation generator for ESLint plugins and rules. Generates the following documentation based on ESLint and top ESL

Bryan Mishkin 64 Dec 27, 2022
Conways-game-of-life - A Conway's Game Of Life project using Python

conways-game-of-life A Conway's Game Of Life project using Python JavaScript Devlog January 1st 2022: also need to remember Python's syntax a bit will

Felipe Melgaço Magesty Silveira 0 Sep 23, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
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
Kuldeep 2 Jun 21, 2022
Authentication, Permissions and Payload Rules with Nextjs using ReactJ with Typescript

Auth with Next.js ?? About Authentication, Permissions and Payload Rules with Nextjs using ReactJS with Typescript ?? Status Finished project ✅ ✅ Feat

César Augusto Polidorio Machado 7 Dec 7, 2022
Manage Voximplant Platform `applications`, `rules` and `scenarios` from your own environment

VOXENGINE-CI Manage Voximplant Platform applications, rules, and scenarios from your own environment using @voximplant/apiclient-nodejs under the hood

Voximplant 21 May 6, 2022
Yet another eslint blame (might) with better adaptability

yet-another-eslint-blame Yet another eslint blame (might) with better adaptability. The input is eslint's output with json format (You can see it here

快手“探索组”前端 5 Mar 7, 2022
My custom shareable eslint configs...

My shared dx Structure . └── packages └── eslint-config-bases Packages Name Description Version @belgattitude/eslint-config-bases Opinionated esl

Sébastien Vanvelthem 4 Dec 15, 2022
logseq custom.js and custom.css utilities : resize query table columns, hide namespaces...

logseq-custom-files custom.js and custom.css utilities for Logseq. current version v20220331 query table view : add handles on the query table headers

null 44 Dec 7, 2022
This experimental library patches the global custom elements registry to allow re-defining or reload a custom element.

Redefine Custom Elements This experimental library patches the global custom elements registry to allow re-defining a custom element. Based on the spe

Caridy Patiño 21 Dec 11, 2022
Ready to manipulate partitions file? Create a custom partition, apply custom security system, hide the partition and share your hidden data on the www

Paranoia ?? Ready to manipulate partitions file? Create a custom partition, apply custom security system, hide the partition and share your hidden dat

Alice Snow 3 Dec 29, 2022
Custom Gutenburg blocks to add custom functionalities to your WordPress site. Brought to you by Arif Khan with <3

Gutpress(WordPress Gutenburg Block Plugin) Custom Gutenburg blocks to add custom functionalities to your WordPress site. Brought to you by Arif Khan w

Arif Khan 4 Nov 23, 2022
Custom navigations for Solid written in Typescript. Implement custom page transition logic and ✨ animations ✨

solid-custom-navigation Get, Set, Go! Custom navigations for Solid, written in Typescript. Implement custom page transition logic and ✨ animations ✨ .

Dirag Biswas 8 Nov 27, 2022
Create Bootstrap 5 Modal Box using JavaScript with custom title, description, button labels and custom YES button callback

Dynamic BS5 Modal Box Create Bootstrap 5 Modal Box using JavaScript with custom title, description, button labels and custom YES button callback Insta

null 5 Oct 23, 2022
lifeRestart 游戏魔改之码农搬砖https://juejin.cn/game/coding-life?utm_source=github

Forked from https://github.com/VickScarlet/lifeRestart lifeRestart English | 简体中文 Introduction Game Life Restart Usage Web Version Clone project code.

稀土 52 Nov 20, 2022
This is an application that entered the market with a mobile application in real life. We wrote the backend side with node.js and the mobile side with flutter.

HAUSE TAXI API Get Started Must be installed on your computer Git Node Firebase Database Config You should read this easy documentation Firebase-Fires

Muhammet Çokyaman 4 Nov 4, 2021