mirror of
https://github.com/chirimen-oh/node-web-gpio.git
synced 2025-01-18 16:08:00 +00:00
13b6bc57b1
* eslint package install * scrupt add . * warning resolved * warning resolced * error Async function 'requestGPIOAccess' has no 'await' expression resolved * Promise returned in function argument where a void return was expected resolved * package-lock.json 削除 * script improve * temporary commit * L234 disabled eslint rules * L159 lint disabled * レビュー指摘事項反映
24 lines
No EOL
603 B
JavaScript
24 lines
No EOL
603 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
ecmaVersion: 2019, // Node.js 12の場合は2019、他のバージョンのNode.jsを利用している場合は場合は適宜変更する
|
|
tsconfigRootDir: __dirname,
|
|
project: ['./tsconfig.eslint.json']
|
|
},
|
|
plugins: [
|
|
'@typescript-eslint',
|
|
],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
],
|
|
rules: {
|
|
},
|
|
}; |