Skip to content

portsoc/lint101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lint101

An example of linter use.

Install and Run

git clone https://github.com/portsoc/lint101.git
cd lint101
npm install
npm test

Installing and running should highlight 15 errors. These are identified using the ESLinter recommended rules, as well as extras that are added by our eslint-config-portsoc extension`

Rule Extensions

There are many different rule sets that can be used as a base for your linting. We have created the eslint-config-portsoc rule set so you have a standard that you can code against that will make your code look the same as ours. This consistency should help you read our, code and it will make it easier when you ask for help because we'll be able to discount many potential sources of error immediately.