Skip to content

gritcode/module-eslint-config-gritcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gritcode eslint configuration

Gritcode specific javascript linting

No additional configuration should be required; upon installation, eslint-config-gritcode adds an .eslintrc.yml into the project root.

Project setup

Unfortunately eslint shareable configs do not resolve dependencies so we need to install all the dev dependencies for each project.

Server

npm i -O \
babel-eslint@^6.1.2 \
eslint@^3.3.1 \
eslint-config-airbnb@^10.0.1 \
eslint-plugin-import@^1.13.0 \
gritcode/module-eslint-config-gritcode.git

Browser

npm i -O \
babel-eslint@^6.1.2 \
eslint@^3.3.1 \
eslint-config-airbnb@^10.0.1  \
eslint-plugin-jsx-a11y@^2.1.0 \
eslint-plugin-import@^1.13.0 \
eslint-plugin-react@^6.1.2 \
gritcode/module-eslint-config-gritcode.git

Atom setup

To setup linting within atom, install the following atom packages
apm install linter linter-eslint

Make sure you have a single project open in Atom.
Within the tray for Atom you will be able to see notifications for the project and the current file within the project.

eslint notifications

resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published