Skip to content

PDERAS/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

npm install -D @pderas/eslint-config

Then create a .eslintrc.js file in the root of the project with the following contents.

// .eslintrc.js

require("@pderas/eslint-config/patch")

module.exports = {
    "extends": ["@pderas"]
}

Optional (but recommended) add the following line to the "scripts" section in package.json

    "lint:js": "eslint resources/js --ext .js,.vue",
    "lint:fix:js": "eslint resources/js --fix --ext .js,.vue"