Skip to content

ninja/eslint-config-ninja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#JavaScript linting rules and dependencies in one module.

Install.

npm i -D eslint-config-ninja

Add config to package.json.

{
  "eslintConfig": {
    "extends": "ninja"
  }
}

Add lint as a script to package.json.

{
  "scripts": {
    "lint": "eslint . --fix" 
  }
}

Lint your JavaScript.

npm run lint 

For more details, see ESLint's Shareable Configs.

About

ESLint configuration and dependencies in one module.

Resources

Stars

Watchers

Forks

Packages

No packages published