2.0.3 • Published 4 years ago
eslint-config-bigpopakap v2.0.3
eslint-config-bigpopakap
Shared ESLint configurations for bigpopakap's personal projects.
Adding to a new repo
Installation
yarn add -D eslint-config-bigpopakap
Running
Examples of how to run the linter:
yarn eslint-bigpopakap
yarn eslint-bigpopakap --fix
Configuration
Add the following .eslintrc.js
to your project:
module.exports = {
extends: [
// Update to `/node`, `/react`, or another flavor, depending on what kind of project you have.
'bigpopakap/base'
],
// Optional, but useful to help ESLint resolve absolute path imports,
// matching whatever path is in your `tsconfig.json#compilerOptions#baseUrl`.
settings: {
"import/resolver": {
node: {
paths: ["src"]
}
},
}
};
Useful scripts
You may want to add the following scripts to your package.json
:
{
"scripts": {
"lint": "npm-run-all -c lint:*",
"lintfix": "npm-run-all -c lint:*:fix",
"lint:js": "yarn eslint-bigpopakap",
"lint:js:fix": "yarn lint:js --fix",
}
}
2.0.3
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.3.0
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago