eslint-config-aether
Advanced tools
Comparing version 2.0.0 to 2.0.1
import js from "@eslint/js"; | ||
import globals from "globals"; | ||
import stylistic from "@stylistic/eslint-plugin"; | ||
@@ -9,2 +10,5 @@ export default { | ||
], | ||
"plugins": { | ||
"@stylistic": stylistic, | ||
}, | ||
"languageOptions": { | ||
@@ -37,5 +41,2 @@ "globals": { | ||
"func-call-spacing": ["warn", "never"], | ||
"indent": ["warn", "tab", { | ||
"SwitchCase": 1 | ||
}], | ||
"key-spacing": "warn", | ||
@@ -97,3 +98,2 @@ "keyword-spacing": ["warn", { | ||
"quotes": ["warn", "double"], | ||
"semi": ["warn", "always"], | ||
"semi-spacing": "warn", | ||
@@ -107,4 +107,8 @@ "space-before-blocks": ["warn", "always"], | ||
"wrap-iife": "warn", | ||
"yoda": ["warn", "never"] | ||
"yoda": ["warn", "never"], | ||
"@stylistic/indent": ["warn", "tab", { | ||
"SwitchCase": 1 | ||
}], | ||
'@stylistic/semi': ['error', 'always'] | ||
} | ||
}; |
{ | ||
"name": "eslint-config-aether", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A custom code style for ESLint.", | ||
@@ -42,3 +42,10 @@ "homepage": "https://github.com/vanruesc/eslint-config-aether", | ||
], | ||
"scripts": {}, | ||
"scripts": { | ||
"debug:js": "eslint --debug -c index.js test/test.js", | ||
"debug:ts": "eslint --debug -c index.js test/test.ts", | ||
"test": "run-p test:*", | ||
"test:js": "eslint -c index.js test/test.js", | ||
"test:ts": "eslint -c index.js test/test.ts", | ||
"prepublishOnly": "npm test" | ||
}, | ||
"peerDependencies": { | ||
@@ -52,3 +59,6 @@ "eslint": "9.x.x" | ||
"globals": "15.x.x" | ||
}, | ||
"devDependencies": { | ||
"npm-run-all": "4.x.x" | ||
} | ||
} |
import tsParser from "@typescript-eslint/parser"; | ||
import ts from "@typescript-eslint/eslint-plugin"; | ||
import stylistic from "@stylistic/eslint-plugin"; | ||
@@ -9,5 +8,4 @@ export default { | ||
], | ||
"plugins": { | ||
"@typescript-eslint": ts, | ||
"@stylistic": stylistic, | ||
"plugins": { | ||
"@typescript-eslint": ts | ||
}, | ||
@@ -28,5 +26,2 @@ "languageOptions": { | ||
"no-unused-vars": "off", | ||
"@stylistic/indent": ["warn", "tab", { | ||
"SwitchCase": 1 | ||
}], | ||
"@typescript-eslint/no-empty-function": "off", | ||
@@ -33,0 +28,0 @@ "@typescript-eslint/no-unused-vars": ["warn", { |
7633
1
195