feat: add lint command
All checks were successful
test-build / guarddog (push) Successful in 43s
test-build / build (push) Successful in 45s
release-image / build (push) Successful in 51s
release-image / guarddog (push) Successful in 1m8s
release-image / semantic-release (push) Successful in 53s
release-image / release-harbor (push) Successful in 1m27s
release-image / release-gitea (push) Successful in 1m50s
All checks were successful
test-build / guarddog (push) Successful in 43s
test-build / build (push) Successful in 45s
release-image / build (push) Successful in 51s
release-image / guarddog (push) Successful in 1m8s
release-image / semantic-release (push) Successful in 53s
release-image / release-harbor (push) Successful in 1m27s
release-image / release-gitea (push) Successful in 1m50s
This commit was merged in pull request #3.
This commit is contained in:
11
eslint.config.mjs
Normal file
11
eslint.config.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import eslintPluginAstro from 'eslint-plugin-astro';
|
||||
import eslintConfigPrettier from "eslint-config-prettier/flat";
|
||||
|
||||
export default [
|
||||
...eslintPluginAstro.configs.recommended,
|
||||
eslintConfigPrettier,
|
||||
{
|
||||
rules: {
|
||||
}
|
||||
}
|
||||
];
|
||||
@@ -1,12 +1,14 @@
|
||||
{
|
||||
"name": "milky-way",
|
||||
"name": "site-saralebens",
|
||||
"type": "module",
|
||||
"version": "1.0.0",
|
||||
"version": "0.1.0",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx,astro}\"",
|
||||
"lint": "eslint \"src/**/*.{js,ts,jsx,tsx,astro}\"",
|
||||
"lint:fix": "eslint --fix \"src/**/*.{js,ts,jsx,tsx,astro}\"",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user