1.1.3 • Published 6 years ago
@lucasfrosty/eslint-config v1.1.3
@lucasfrosty/eslint-config
My personal eslint-config file. It uses the airbnb style-guide with Prettier for auto formatting
How to use it:
- Install the following packages into you project:
npm i @lucasfrosty/eslint-config babel-eslint prettier eslint@4.9.0 eslint-config-airbnb@16.1.0 eslint-config-prettier@2.9.0 eslint-plugin-import@2.7.0 eslint-plugin-jsx-a11y@6.0.2 eslint-plugin-prettier@2.6.0 eslint-plugin-react@7.4.0 --save-dev
Next create a file with the name of
.eslintrc
on the root folder of the project.Inside the
.eslintrc
file just add the following:
{
"extends": "@lucasfrosty/eslint-config"
}
And that's it!! You'll be using both Prettier and ESLint using the Airbnb style-guide