@biglemon/eslint-config

1.0.11 • Public • Published

Installing

yarn add --dev @biglemon/eslint-config

Then include this in your package.json

"eslintConfig": {
	"extends": "biglemon"
},

VSCode Settings

{
	"editor.formatOnSave": true,
	// turn it off for JS and JSX, we will do this via eslint
	"[javascript]": {
		"editor.formatOnSave": false
	},
	"[javascriptreact]": {
		"editor.formatOnSave": false
	},
	// tell the ESLint plugin to run on save
	"editor.codeActionsOnSave": {
		"source.fixAll": true
	},
	// Optional BUT IMPORTANT: If you have the prettier extension enabled for other languages like CSS and HTML, turn it off for JS since we are doing it through Eslint already
	"prettier.disableLanguages": ["javascript", "javascriptreact"],
	"prettier.jsxSingleQuote": true,
	"prettier.useTabs": true,
	"editor.insertSpaces": false
}

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @biglemon/eslint-config

    Weekly Downloads

    0

    Version

    1.0.11

    License

    ISC

    Unpacked Size

    4.15 kB

    Total Files

    3

    Last publish

    Collaborators

    • mikerudgelemon
    • owenthetwit
    • jackbiglemon