Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 9d19bf5

Browse files
committed
Only package needed files
1 parent 04889cc commit 9d19bf5

File tree

6 files changed

+181
-176
lines changed

6 files changed

+181
-176
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"env": {
33
"node": true
44
},
5-
"extends": ["./config.js"]
5+
"extends": ["./index.js"]
66
}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
### NodeJS ###
1+
*.tgz
2+
3+
## NodeJS ###
24
# Logs
35
logs
46
*.log

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.github
2+
.husky
3+
.editorconfig
4+
.eslintrc.json

config.js

Lines changed: 0 additions & 172 deletions
This file was deleted.

index.js

Lines changed: 172 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,172 @@
1-
module.exports = require("./config.js");
1+
module.exports = {
2+
rules: {
3+
"constructor-super": "error",
4+
"for-direction": "error",
5+
"getter-return": "error",
6+
"no-async-promise-executor": "error",
7+
"no-case-declarations": "error",
8+
"no-class-assign": "error",
9+
"no-compare-neg-zero": "error",
10+
"no-cond-assign": "error",
11+
"no-const-assign": "error",
12+
"no-constant-condition": "error",
13+
"no-control-regex": "error",
14+
"no-debugger": "error",
15+
"no-delete-var": "error",
16+
"no-dupe-args": "error",
17+
"no-dupe-class-members": "error",
18+
"no-dupe-else-if": "error",
19+
"no-dupe-keys": "error",
20+
"no-duplicate-case": "error",
21+
"no-empty": "error",
22+
"no-empty-character-class": "error",
23+
"no-empty-pattern": "error",
24+
"no-ex-assign": "error",
25+
"no-extra-boolean-cast": "error",
26+
"no-fallthrough": "error",
27+
"no-func-assign": "error",
28+
"no-global-assign": "error",
29+
"no-import-assign": "error",
30+
"no-inner-declarations": "error",
31+
"no-invalid-regexp": "error",
32+
"no-irregular-whitespace": "error",
33+
"no-loss-of-precision": "error",
34+
"no-misleading-character-class": "error",
35+
"no-new-symbol": "error",
36+
"no-nonoctal-decimal-escape": "error",
37+
"no-obj-calls": "error",
38+
"no-octal": "error",
39+
"no-prototype-builtins": "error",
40+
"no-redeclare": "error",
41+
"no-regex-spaces": "error",
42+
"no-self-assign": "error",
43+
"no-setter-return": "error",
44+
"no-shadow-restricted-names": "error",
45+
"no-sparse-arrays": "error",
46+
"no-this-before-super": "error",
47+
"no-undef": "error",
48+
"no-unreachable": "error",
49+
"no-unsafe-finally": "error",
50+
"no-unsafe-negation": "error",
51+
"no-unsafe-optional-chaining": "error",
52+
"no-unused-labels": "error",
53+
"no-useless-backreference": "error",
54+
"no-useless-catch": "error",
55+
"no-useless-escape": "error",
56+
"no-with": "error",
57+
"require-yield": "error",
58+
"use-isnan": "error",
59+
"valid-typeof": "error",
60+
61+
"no-console": ["error", { allow: ["error", "info"] }],
62+
"no-unused-vars": ["error", { varsIgnorePattern: "^_$" }],
63+
"no-duplicate-imports": "error",
64+
"no-constructor-return": "error",
65+
"no-template-curly-in-string": "error",
66+
"no-unreachable-loop": "error",
67+
"no-use-before-define": "error",
68+
"default-case-last": "error",
69+
eqeqeq: "error",
70+
"dot-notation": "error",
71+
"max-lines": ["error", { max: 1000 }],
72+
"no-alert": "error",
73+
"no-eval": "error",
74+
"no-extend-native": "error",
75+
"no-inline-comments": "error",
76+
"no-lonely-if": "error",
77+
"no-shadow": "error",
78+
"no-useless-call": "error",
79+
"no-useless-concat": "error",
80+
"no-var": "error",
81+
"one-var": ["error", "never"],
82+
"prefer-const": "error",
83+
"prefer-object-has-own": "error",
84+
"require-await": "error",
85+
"spaced-comment": "error",
86+
yoda: "error",
87+
88+
// The rest are rules that you never need to enable when using Prettier.
89+
curly: 0,
90+
"lines-around-comment": 0,
91+
"max-len": 0,
92+
"no-confusing-arrow": 0,
93+
"no-mixed-operators": 0,
94+
"no-tabs": 0,
95+
"no-unexpected-multiline": 0,
96+
quotes: 0,
97+
98+
"arrow-body-style": "off",
99+
"prefer-arrow-callback": "off",
100+
"array-bracket-newline": "off",
101+
"array-bracket-spacing": "off",
102+
"array-element-newline": "off",
103+
"arrow-parens": "off",
104+
"arrow-spacing": "off",
105+
"block-spacing": "off",
106+
"brace-style": "off",
107+
"comma-dangle": "off",
108+
"comma-spacing": "off",
109+
"comma-style": "off",
110+
"computed-property-spacing": "off",
111+
"dot-location": "off",
112+
"eol-last": "off",
113+
"func-call-spacing": "off",
114+
"function-call-argument-newline": "off",
115+
"function-paren-newline": "off",
116+
"generator-star": "off",
117+
"generator-star-spacing": "off",
118+
"implicit-arrow-linebreak": "off",
119+
indent: "off",
120+
"jsx-quotes": "off",
121+
"key-spacing": "off",
122+
"keyword-spacing": "off",
123+
"linebreak-style": "off",
124+
"multiline-ternary": "off",
125+
"newline-per-chained-call": "off",
126+
"new-parens": "off",
127+
"no-arrow-condition": "off",
128+
"no-comma-dangle": "off",
129+
"no-extra-parens": "off",
130+
"no-extra-semi": "off",
131+
"no-floating-decimal": "off",
132+
"no-mixed-spaces-and-tabs": "off",
133+
"no-multi-spaces": "off",
134+
"no-multiple-empty-lines": "off",
135+
"no-reserved-keys": "off",
136+
"no-space-before-semi": "off",
137+
"no-trailing-spaces": "off",
138+
"no-whitespace-before-property": "off",
139+
"no-wrap-func": "off",
140+
"nonblock-statement-body-position": "off",
141+
"object-curly-newline": "off",
142+
"object-curly-spacing": "off",
143+
"object-property-newline": "off",
144+
"one-var-declaration-per-line": "off",
145+
"operator-linebreak": "off",
146+
"padded-blocks": "off",
147+
"quote-props": "off",
148+
"rest-spread-spacing": "off",
149+
semi: "off",
150+
"semi-spacing": "off",
151+
"semi-style": "off",
152+
"space-after-function-name": "off",
153+
"space-after-keywords": "off",
154+
"space-before-blocks": "off",
155+
"space-before-function-paren": "off",
156+
"space-before-function-parentheses": "off",
157+
"space-before-keywords": "off",
158+
"space-in-brackets": "off",
159+
"space-in-parens": "off",
160+
"space-infix-ops": "off",
161+
"space-return-throw-case": "off",
162+
"space-unary-ops": "off",
163+
"space-unary-word-ops": "off",
164+
"switch-colon-spacing": "off",
165+
"template-curly-spacing": "off",
166+
"template-tag-spacing": "off",
167+
"unicode-bom": "off",
168+
"wrap-iife": "off",
169+
"wrap-regex": "off",
170+
"yield-star-spacing": "off",
171+
},
172+
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-simple-icons",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Simple Icons ESLint base configuration for all repositories",
55
"homepage": "https://simpleicons.org",
66
"main": "index.js",

0 commit comments

Comments
 (0)