Skip to content

Commit

Permalink
settings: eslint-config-standardからneostandardへ移行(#1)
Browse files Browse the repository at this point in the history
eslint-config-standardは更新が止まっていて、
この新しいプロジェクトを開発中とのことだった。
standard/eslint-config-standard#410
  • Loading branch information
h-yoshikawa44 committed Aug 17, 2024
1 parent b1ab1b7 commit 2bb64cf
Show file tree
Hide file tree
Showing 3 changed files with 912 additions and 347 deletions.
11 changes: 7 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
import js from '@eslint/js';
import globals from 'globals';
import eslintNPlugin from 'eslint-plugin-n';
import eslintPromisePlugin from 'eslint-plugin-promise';
import neostandard, { plugins } from 'neostandard';

/** @type { import("eslint").Linter.Config[] } */
export default [
{
ignores: ['node_modules/**', 'eslint.config.js'],
},
js.configs.recommended,
eslintNPlugin.configs['flat/recommended-module'],
eslintPromisePlugin.configs['flat/recommended'],
...neostandard(),
plugins['@stylistic'].configs.customize({
semi: true,
}),
plugins.n.configs['flat/recommended-module'],
plugins.promise.configs['flat/recommended'],
{
files: ['js/**/*.js'],
languageOptions: {
Expand Down
Loading

0 comments on commit 2bb64cf

Please sign in to comment.