Skip to content

๐Ÿš€ Underline's shared ESLint config for Javascript & TypeScript applications

License

Notifications You must be signed in to change notification settings

nrfta/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

@underline/eslint-config

Underline's shared ESLint config for Javascript, TypeScript, Node.js & Ember.js apps.

โ— Requirements

  • ESLint is required to use this plugin.

๐Ÿš€ Usage

This process is the same for any of the packages included here.

1. Install plugin

pnpm add --save-dev @underline/eslint-config

2. Modify your .eslintrc.js:

Shareable configs are designed to work with the extends feature of .eslintrc files.

extends: [
  '@underline/eslint-config'
]

๐Ÿ’… Prettier

Our ESLint config is setup to be used in conjunction wit Prettier for formatting code in editors (eg. VS Code, Atom, Sublime, Vim). We include the base .prettierrc.js file in the base package. You can require that file and use that in your application.

Create a file in the root of your application named .prettierrc.js with the following content:

module.exports = require('@underline/eslint-config/.prettierrc.js');

License

Copyright (c) 2020 Underline Infrastructure Inc.

Licensed under the MIT license.

Acknowledgement

Thanks to @ClarkSource's eslint-config for the ideas on how to organize this project.

About

๐Ÿš€ Underline's shared ESLint config for Javascript & TypeScript applications

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published