All Projects → ScreamZ → Aurora

ScreamZ / Aurora

📦 A set of configs and rules for Typescript projects.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Aurora

spec
🐣 easy to use eslint/stylelint/tslint/prettier/...
Stars: ✭ 60 (+100%)
Mutual labels:  tslint, linter, prettier
eslint-config
🚀 Jetrockets Standarts | ESLint
Stars: ✭ 20 (-33.33%)
Mutual labels:  linter, prettier
alda
A boilerplate for React isomorphic aplication with Material Design
Stars: ✭ 16 (-46.67%)
Mutual labels:  tslint, prettier
express-ts-api-boilerplate
Express TypeScript API Boilerplate
Stars: ✭ 15 (-50%)
Mutual labels:  tslint, prettier
Poetic
Automatically install and maintain ESLint, Prettier, EditorConfig and Airbnb rules for JavaScript, TypeScript and React.
Stars: ✭ 165 (+450%)
Mutual labels:  linter, prettier
healthier
🧘‍♀️ Healthier is an opinionated style agnostic code linter – a friendly companion to Prettier
Stars: ✭ 78 (+160%)
Mutual labels:  linter, prettier
TSLint.MSBuild
[Deprecated] An MSBuild task for running TSLint.
Stars: ✭ 13 (-56.67%)
Mutual labels:  tslint, linter
Typescript Starter
Quickly create and configure a new library or Node.js project
Stars: ✭ 2,953 (+9743.33%)
Mutual labels:  prettier, tslint
eslint-config
An ESLint shareable config that I used in my projects
Stars: ✭ 15 (-50%)
Mutual labels:  tslint, linter
Typescript Tslint Plugin
TypeScript TSLint language service plugin
Stars: ✭ 270 (+800%)
Mutual labels:  linter, tslint
Lint Review
An automated code linting bot that integrates various code lint tools with github pull requests.
Stars: ✭ 279 (+830%)
Mutual labels:  linter, tslint
Zoe
🌀 Zero-config ESLint toolchain with sensible defaults.
Stars: ✭ 113 (+276.67%)
Mutual labels:  linter, prettier
Tslint
🚦 An extensible linter for the TypeScript language
Stars: ✭ 5,922 (+19640%)
Mutual labels:  linter, tslint
ts-standard
Typescript style guide, linter, and formatter using StandardJS
Stars: ✭ 338 (+1026.67%)
Mutual labels:  tslint, linter
Prettylint
Run Prettier as a linter
Stars: ✭ 33 (+10%)
Mutual labels:  linter, prettier
eaf-linter
🤪 A linter, prettier, and test suite that does everything as-simple-as-possible.
Stars: ✭ 17 (-43.33%)
Mutual labels:  linter, prettier
Prettier Tslint
Code ➡️ prettier ➡️ tslint --fix ➡️ Formatted Code ✨
Stars: ✭ 221 (+636.67%)
Mutual labels:  prettier, tslint
Tslint Plugin Prettier
Runs Prettier as a TSLint rule and reports differences as individual TSLint issues
Stars: ✭ 232 (+673.33%)
Mutual labels:  prettier, tslint
web-build-tool-demo
比较全面的前端构建工具demo,拿来即练,不定时更新,包含git npm gulp webpack babel typescript husky eslint tslint lint-stage prettier等
Stars: ✭ 42 (+40%)
Mutual labels:  tslint, prettier
Lynt
✨ A zero config JavaScript linter with support for Typescript, Flow, and React.
Stars: ✭ 390 (+1200%)
Mutual labels:  linter, tslint

Aurora

Logo Aurora

A set of configs and rules for Typescript projects.

  • Prettier. Code formatter
  • Tslint. Typescript files linter

Installation and dependencies

Install dependencies using npm or yarn:

yarn add -D tslint prettier @screamz/aurora

Edit your package.json and add "prettier": "@screamz/aurora" to use the built-in prettier config.

Then chose your tslint config depending on your project type and add it to your tslint.json extends key:

  • Classic Typescript project such as NodeJS or Cloud Functions: @screamz/aurora/tslint-common
  • React project: @screamz/aurora/tslint-react

Good to go!

Good to know

Some rules are handled by Prettier and have been desactived in tslint to avoid conflicts thanks to both tslint-config-prettier & tslint-plugin-prettier.

Extending ?

  • If you want to extends the built-in Prettier config:

The package.json method does not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a .prettierrc.js file and export the modifications, e.g:

module.exports = {
  ...require("@screamz/aurora"),
  semi: false
};
  • If you want to extends the tslint configuration

It's simple as adding rules in your tslint-config.json

{
  "extends": "@screamz/aurora/tslint-react",
  "rules": {
    "interface-name": false,
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].