1.2.0 • Published 7 months ago
@okatechnology/eslint-config v1.2.0
eslintrc
Usage
Config ESLint
create .eslintrc.js
at your project root and write the following.
React Project
module.exports = {
extends: ['./node_modules/@okatechnology/eslint-config/eslintrc-react'],
}
React Native Project
module.exports = {
extends: ['./node_modules/@okatechnology/eslint-config/eslintrc-react-native'],
}
Next.js Project
module.exports = {
extends: ['./node_modules/@okatechnology/eslint-config/eslintrc-react-next'],
}
Node.js Project
module.exports = {
extends: ['./node_modules/@okatechnology/eslint-config/eslintrc-node'],
}
Config Prettier
create .prettierrc.js
at your project root and write the following.
module.exports = {
...require('@okatechnology/eslint-config/prettierrc'),
}
Config TypeScript
create tsconfig.json
at your project root and write the following.
React Project
{
"extends": "@okatechnology/eslint-config/tsconfig.react.json",
"include": [...],
"compilerOptions": {
"baseUrl": "./"
}
}
React Native Project
{
"extends": "@okatechnology/eslint-config/tsconfig.react-native.json",
"include": [...],
"compilerOptions": {
"baseUrl": "./"
}
}
Node.js Project
{
"extends": "@okatechnology/eslint-config/tsconfig.node.json",
"include": [...],
"compilerOptions": {
"baseUrl": "./"
}
}
1.2.0
7 months ago
1.1.0
7 months ago
1.0.1
7 months ago
1.0.0
7 months ago
0.4.0
3 years ago
0.3.0
3 years ago
0.3.1
3 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.2.2
4 years ago
0.1.0
4 years ago
0.1.1
4 years ago
0.0.12
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago