@theonlydevsever/eslint-config

1.0.2 • Public • Published

@theonlydevsever/eslint-config

publish tag

ESLint configuration for @theonlydevsever

Install

// using yarn
yarn add -D @theonlydevsever/eslint-config eslint eslint-config-prettier eslint-plugin-html eslint-plugin-import eslint-plugin-jest eslint-plugin-jest-extended eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser

// using npm
npm install --save-dev @theonlydevsever/eslint-config eslint eslint-config-prettier eslint-plugin-html eslint-plugin-import eslint-plugin-jest eslint-plugin-jest-extended eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser

Usage

This configuration can be set up using the package.json or .eslintrc file.

package.json

{
    "name": "side-walk-when-she-walks",
    "version": "1.0.0",
    "author": "alexisonfire",
    "eslintConfig": {
        "extends": ["@theonlydevsever"]
    },
    "dependencies": {
        "react": "^17.0.1"
    }
}

.eslintrc

{
    "extends": ["@theonlydevsever"]
}

Ignoring Files

If you want eslint to ignore certain files, create a .eslintignore file in your project's root firectory and add all of the files you want eslint to ignore.

Here is our recommended .eslintignore

build
coverage
*.db
*.log
*.lock
*.json
docs
node_modules
public
prettier.config.js

Package Sidebar

Install

npm i @theonlydevsever/eslint-config

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

6.74 kB

Total Files

6

Last publish

Collaborators

  • davidkeefe24
  • dylanolearydev