Skip to content
Snippets Groups Projects
Verified Commit a8a6bea8 authored by TTtie's avatar TTtie
Browse files

Add the configuration

parents
No related branches found
No related tags found
No related merge requests found
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "script",
"ecmaVersion": 2019
},
"rules": {
"indent": [
"error",
4
],
"linebreak-style": "off",
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"no-inner-declarations": "off",
"no-useless-escape": "off",
"require-atomic-updates": "off",
"strict": [
"error",
"global"
],
"eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-extra-parens": "error",
"brace-style": [
"error",
"1tbs"
],
"object-curly-spacing": [
"error",
"always"
]
},
"globals": {
"BigInt": true
}
}
\ No newline at end of file
node_modules/
\ No newline at end of file
module.exports = require("./.eslintrc.json")
\ No newline at end of file
This diff is collapsed.
{
"name": "@tt-bot-dev/eslint-config",
"version": "1.0.0",
"description": "The ESLint configuration used across all tt-bot-dev repositories.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tt-bot-dev/eslint-config.git"
},
"keywords": [
"eslint",
"config",
"lint"
],
"author": "TTtie <me@tttie.cz>",
"license": "MIT",
"bugs": {
"url": "https://github.com/tt-bot-dev/eslint-config/issues"
},
"homepage": "https://github.com/tt-bot-dev/eslint-config#readme",
"dependencies": {
"eslint": "^6.8.0"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment