@nexterias/eslint-config-common
ESLint rules for NEXTERIAS
Note コードフォーマッターとしてPrettierを使用することをオススメします。
Installation
# npm
npm i -D @nexterias/eslint-config-common eslint
# yarn / berry
yarn add -D @nexterias/eslint-config-common eslint
# pnpm
pnpm add -D @nexterias/eslint-config-common eslint
Configuration
module.exports = {
root: true,
env: {
es2022: true,
},
parserOptions: {
ecmaVersion: 2022,
},
extends: ['@nexterias/eslint-config-common'],
}